[Bug] Text is cut off in settings
Operating System
Windows
What's the issue you encountered?
Not so much a bug as a UI design issue, but there are multiple instances of text in the settings window simply hitting the edge of the window and not wrapping, not allowing scrolling, and not showing a tooltip, meaning the remainder of the line can't be read. Here are some examples:
The red circles are where text is cut off, the yellow are where it may be but you can't tell. Further exacerbating this issue is the fact that while some options have tooltips explaining them, e.g. the "Maximum size of file to load" one in the first screenshot, others, e.g. "Max number of items shown whe..." in the same image and the shortcuts, don't.
Of course, the settings window can be resized to make some things visible (this works for the shortcuts), but this shouldn't be necessary, and it doesn't even help with some settings, e.g. the first one, where the bar grows longer and the text remains the same.
How can the issue be reproduced?
Open the settings window and browse around.
ImHex Version
1.37.4 (It would be helpful if this could be copied from the program. Between the colors, fonts, and somewhat busy nature of the about screen, it took a bit just to find the version #, which then had to be typed manually.)
ImHex Build Type
- [ ] Nightly or built from sources
Installation type
MSI
Additional context?
No response
Many of these have also been addressed since in the nightlies. Not all yet but most. Being able to copy the version number sounds like a good idea, I can add that
The ones on the general tab (first image) and the toolbar icon text (second image, right side) are indeed fixed, whereas the others aren't. Feel free to close this if you're tracking this elsewhere or leave open to track it here.
The text here is also no longer cut off as of a few commit back:
For the list next to it... I'm not sure there's a good way to do it besides just making the list wider which would in turn make the sections next to it smaller. It could be dynamically sized based on the length of the strings but that would make it inconsistent depending on what items were moved over to the toolbars section and which weren't, what language is selected and so on.
Same for the shortcuts menu. The easiest fix would be to just make the buttons a bit less wide but that wouldn't work for the longest ones and would be inconsistent across languages again. And sizing the button depending on the length of the text behind it would make all the buttons a different length which probably would look worse.
Maybe you got better ideas on how to handle it? I'm not sure there's a good solution that works for all cases
Yeah, that's what I was referring to regarding the toolbar icon text. It's fixed, though pretty small, so not sure it's really ideal. For those, I think the icons and their text can be made larger; after all, it's a pretty good sized box, and it could always be scrolled. Like icons in file explorer, which can be made smaller or bigger, and if they're too big to all fit, you just have to scroll.
For the toolbar left pane (icons not currently on the toolbar), the bar between them and the box containing the icons currently in the toolbar could be made draggable left/right, so the panes could be resized to allow more room in one or the other. It could also scroll left/right to be able to view the full text. But I think just adding a tooltip that extends out the full width of the text would be sufficient. This could be done above the text or in front of it, which I personally prefer, so basically when you hover over it the text within the pane looks the same and you just see it extend outward.
For the shortcuts tab, that's a bit trickier. Unlike the toolbar tab, it can be "fixed" by just making the window bigger. Again, not ideal, but it works. Not sure if you can make a tooltip extend outside the window, or if that would even be a good solution (what if the window is against the right side of the screen), but hovering over text that's cut off could show a multi-line tooltip. Other options would be, again, to add horizontal scrolling; to dynamically resize the left column (hotkeys in blue bars) to be as narrow as the widest text, to minimize the space that column takes up (or to just make it narrower in general, and if a hotkey combo is too long to fit, it could be shown in a tooltip); and to reduce the space between the tab names (General, Interface...Shortcuts) and the options area, or move them and arrange them horizontally across the top, freeing up all that horizontal space to make things fit better in a given window size.
So a handful of options, though tooltips seem the easiest and most universally applicable.