#PB_Text_AutoSize flag for the TextGadget
Posted: Thu Dec 04, 2014 8:17 am
Hello Fred and team,
Some #PB_Text_AutoSize flag for the Textgadget would be very handy. If set, the gadget keeps the width and position but adapts the height automatically to fit the text with the current font. Later on, you can use GadgetHeight() to find out what happened.
Important: If you change the text later using SetGadgetText(), the height has to adapt automatically again!
Kukulkan
Some #PB_Text_AutoSize flag for the Textgadget would be very handy. If set, the gadget keeps the width and position but adapts the height automatically to fit the text with the current font. Later on, you can use GadgetHeight() to find out what happened.
Important: If you change the text later using SetGadgetText(), the height has to adapt automatically again!
Kukulkan