shortoreo.blogg.se

Gui image icon resize to fit button
Gui image icon resize to fit button










gui image icon resize to fit button

This all started… trying to make my flow chart diagram… survive a F12 dev-tools open/close. I understand the recursion possibilities… could be a fork fight. If that is the case, perhaps remove the docs line? I dunno. or delete, as needed.Ī little simpler PG… with 5, 10, 15, and 20 sec timers… doing various things.Ĭan you show me any example of wordwrapping being ignored… when resizeToFit is true? It's a test playground, open for discussions and experiments and learning. And, we get a new parody song from Wingnut, too! :)

gui image icon resize to fit button

Need extra space around the text of the blue rectangle? You need to use NEGATIVE paddings on the rectangle. Interesting! Fun interplay between word-wrapping, and GUI textBlock resizes, and container size-adaptations. No adapting needed on the width, as the word wrapper took care of that. The blue rect container will need to change, too… to re-adapt to the new textBlock width / height. I thought this would be a fun place to experiment, too… as the textBlock is resizingToFIt after 5 seconds. Notice lines 40 & 41… adapt blue rect (container) width/height to children. So, perhaps that docs line needs some adjusting. The same situation happens in lines 126 & 127 of the scrollViewer. You can NOP line 80 and then re-run, and wait 5 seconds… to see that wrapping is not ignored. Lines 80 & 81 are being used together in the blue-background rectangle. It doesn’t make sense logically for both properties to be used at the same time as they contradict each other.” “ Notice that textWrapping is ignored when resizeToFit is set to true. There is a statement in the resizeToFit section of the GUI textBlock docs… that says… There’s a messy playground… where I am testing GUI textBlock.text changes… after a 5-second delay.īoth GUI rectangle… and scrollViewer… are tested.












Gui image icon resize to fit button