Closed michelemendel closed 1 year ago
Thank you for the comment. How big of a screen are you running this on?
I know the root cause, and it's by design to have borders left and right that squeezes the text into the middle.
However, depending on screen resolution, the squeeze is potentially too large which is why your adjustment makes it visible again.
Closing this for now.
Changing
marginWidth = (unit.Dp(gtx.Constraints.Max.X) - textWidth) / 2
tomarginWidth = (unit.Dp(gtx.Constraints.Max.X) - textWidth) / 4
fixed the problem, but I don't see why.