-
-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scrollbar appears in lxqt-config-appearence #1606
Comments
Well I'm not frightened that's not the problem ;) |
Generally, it's wrong to avoid scrollbars in the code -- it isn't really possible and any attempt can make the window too wide/tall for some.
In your case. 5px, 4px,... all are wrong in the code. Qt designer sets the window width and height depending on who has used it first and with which font/style/icon sizes; even those dimensions may need to be decreased manually. Last but not least, there's a reason that all toolkits have srollbars. |
Not about scrollbar, but I generally find the left pane in lxqt-config components always way too narrow. If its width is governed by some coefficient, could said coefficient be increased a bit? |
The width is what's needed for showing the text and icon. But we may want a parameter to tell the code about the wrapping position, so that, for example, "Icons Theme" is drawn on a single line but "Icons Theme Is Beautiful" is drawn on 2 lines. It isn't urgent though. |
We could make it wider without problems - would look better even with the short englisch texts - i remember an open bug by PcMan about. EDIT: found it - #1510 |
Also keep in mind that other l10ns may have more lengthy labels. |
Yes, I think so but I still don't know how easy it might be. A reasonable number of characters should be chosen. I think we could find the number in libfm-qt (although it isn't related to that dialog at all). |
Oh, #1510 shows we're dealing with a real bug here (I didn't know that). A fix may be somehow urgent. |
Found the cause; will try to fix it later. |
OK, I set the max number of characters to ~13 (as in libfm-qt) and got this, which looks better: I don't know how it will look with German or Chinese but using an empty EDIT: Corrected the height too. |
Please test lxqt/liblxqt#185 with your language! |
@stefonarch Thanks! So, 13 is enough. |
With recent changes (introducing gtk-styles settings) there is now a scrollbar present in the left sidebar menu. Not sure if this affects all languages/systems.
Possible Solution
Increase window height slightly. I didn't find the file...
The text was updated successfully, but these errors were encountered: