Is it possible to create a text that resizes with the view’s size like other GUI elements do when using ie. HLayout? In the basic example below the Knob resizes when you resize the view, but the text does not resize in the second line.
View().layout_(HLayout(Knob())).front;
View().layout_(HLayout(StaticText().string_(\Sometext))).front // no resizing of text
Thanks for suggestion. I thought there might be an easier way to do it. For my case I think I am better of resizing all the text either by .fixedSize or changing the font. What I need is a view with mostly StaticText objects to be able to alternate between two different sizes. I was hoping there was a method to stretch the text with the outer view (like Knobs, Buttons etc) but I guess not.