PKHackers / ebmused

EarthBound Music Editor
MIT License
35 stars 14 forks source link

Better UI element sizing and position #32

Open PhoenixBound opened 2 years ago

PhoenixBound commented 2 years ago

Due to #29, some things related to text display have an ever-so-slightly wrong size that can cause text wrapping issues occasionally.

Here's one example at 200%: In the "Sound Options" dialog, the label "Sample Rate (Hz)" has the (Hz) part wrapped to the next line and slightly cut off

Here's another example at 175%: In the sequence editor, the "Loop Song" text warps the word "Song" onto the next line, leaving that word mostly hidden

I think this would be too difficult with the scaled pixel positions and sizes that are hardcoded in ebmused right now, but there has to be room for improvement.

ChrisBlueStone commented 2 years ago

Can we just adjust the widths of UI elements to allow a buffer for scaled text? I.e. decrease the width of the patterns list and increase the Sound Options labels/window width?