Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Remove dead space at top of text fields #300
Note the difference in size between the size of the actual text field (the black box is the result of searchField.setEnableBackgroundDrawing( true );)
because the texture doesn't line up the same between the normal terminal/crafting terminal in comparison to the Interface terminal, the IsMouseIn method can't return the click area perfectly for all terminals :/
The other problem is that the text field width snaps to a character width, so there isn't the fine-tuned control needed to make it fill the space properly.
My vote is to leave this as it is in this PR, even though the interface terminal overflows the text box.
Longer term, a pass should be made on all the GUI assets to match the graphical representation of a text input box with the actual text field control.