auto resize static text in GUI
16 vues (au cours des 30 derniers jours)
My GUI is made in GUIDE.
All components of the GUI have the units normalized.
GUI options is set to be proportional.
After I run the GUI and manually drag and change window size, everything resizes itself as expected including the static text box, however, the static text inside the text box stays the same Font size as I manually set earlier in GUI Editor and no longer fit in the text box.
I wish to auto rescale my static text to fit in the text box.
Please help...Thank you~
Image Analyst le 3 Août 2016
Make sure the units property is set to 'normalized', and then make sure it's wide enough otherwise it will clip it off.
Adam le 3 Août 2016
There is a 'FontUnits' property which needs to be set to 'normalized' for this to work.
I seem to remember I abandoned this because it really didn't work well, I ended up with buttons with slightly differing sizes of font even though the buttons had been made to be the same size and overall it just looked an inconsistent mess at different levels of resizing, but you can judge for yourself if you use the setting.