I am using Feathers 2.2.0, and if I resize the window (or I go fullscreen) the size of the texts in an list, or even header text, break and the text labels are all clipped?
I think they are exactly the same size but with the window being bigger it doesnt really help fitting the contents.
So the game is 720p. And the label is lets say 100px and the text fits.
But I go to 1080p, starling resizes it all but then Feathers doesnt use that scale factor and it created a box as big as before (100px) but text font size has changed as well. So text contents are clipped.
Hmmm... Feathers doesn't have a version 2.0.2. Regardless, that sounds like an old bug where Feathers did not adapt to dynamic scale factor changes. You'll need to upgrade to a newer version. Looking back at the source code, I think you'll need to use at least 3.0.0.
Ah you didnt get the edit. It changed it to 2.2.0 after posting.
Is there any quick hack? I can't really upgrade to 3.0.0
Where DO I need to look or what do I need to upgrade to prevent textfields resizing like that?
It only happens in labels.
You could try backporting this new contentScaleFactor check added to render() in both TextBlockTextRenderer and TextFieldTextRenderer (and any related code, obviously, like where _lastContentScaleFactor is saved):
Okey even though that tip is getting me closer. It doesnt really get me where I have to go.
The issue comes even when I dont resize the menu, bit the screen is already scaled up. Dealt by Starling. Feathers doesnt need to stretch or resize anything. Is there any way to do that?
I ended up editing the whole feathers to keep all calls to "Starling.current.contentScaleFactor" to be Filtered to a new static var from FeathersUtils.scaleFactor. That way I can control it better.