When I put a text on a button, the size of button changes automatically to the size of the text and no longer can be changed…
Directly on canvas it works, but I want the buttons with text to be inside of a gridpanel so they all have a nice alignment in rows and columns, is that possible?
Hello, reduce size of text also smalls the buttons, but I want buttons to be a bit bigger than text.
Found out that text placed not as child to the buttons does not change the buttons size, but then the buttons are not clickable at the position where the text is, which is not really an acceptable solution…
In the picture left and middle columns texts are unchilded, only right row text is placed as child, and with different font sizes it shrinks the buttons too. It should be independent from each other
I had each text placed as a child onto the buttons, after that the buttons shrinked to the length of text and it was not possible for me to make buttons bigger (or smaller).
The hit test invisible thing works, using that with text not as child seems fine. Thank you very much.