cdd8d2ed5f
This adds :get_preferred_size() and :get_preferred_size_at_dpi() which return the size (=width, height) that the textbox would need if unlimited space is available. This also adds :get_height_for_width() and :get_height_for_width_at_dpi() which return the height that the textbox would need if the given width is available. Signed-off-by: Uli Schlachter <psychon@znc.in> |
||
---|---|---|
.. | ||
background.lua | ||
base.lua | ||
imagebox.lua | ||
init.lua | ||
systray.lua | ||
textbox.lua |