-
Notifications
You must be signed in to change notification settings - Fork 590
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
Add a 1px black border around the tab-switcher #3797
Comments
Things like this are not controlled by Geany, they are controlled by the GTK theme. You can make tweaks using geany.ccs, (I don't remember if 1.38 has |
Yes, it has.
I know that I have to add the value
I tried in geany.css different selector names, like
but it does not work. Where do I find some more CSS IDs? |
Only the listed selectors exist, the popup isn't named. You could try applying it to all menus and see if it ruins the normal menus, or maybe even makes them clearer as well. |
How? |
Maybe the GTK Inspector can help, https://wiki.gnome.org/Projects/GTK/Inspector. Basically, enable it by executing The inspector allows to pick various GUI objects and show the CSS path. However, I failed to pick the mentioned menu. Surely there is some trick to get it. |
I found the name "GeanyDialog". Maybe following should be added to default
|
I added the code from the last comment in geany.css. |
@xiota does that change the tab switcher popup, AFAICT (from the code) it has no name? @ralf3u thats why I suggested using "menu" as the selector. AFAICT GeanyDialog is only used for dialogs, except for GeanyDialogSearch and GeanyDialogProject which for some reason have their own names. But as I keep saying, what things look like is set by the user theme, we should not be overriding everybodys theme with our own CSS just because one theme does not do something somebody wants. Note that the theme @ralf3u uses works on normal screens, the problem is with the characteristics of epaper displays. It would be nice if the manual did not just list "some interesting" widget names and listed all of them, contributions welcome. |
Unknown reason, the tab switcher dialog on my computer is named GeanyDialog, and the CSS I pasted does work. (Arch Linux, Geany 2.0) Maybe the switcher dialog should be assigned a name (GeanyDialogSwitcher?) so that it can be styled more easily after the next release. |
@xiota hmmmm, we seem to be talking about different things. Here (Geany 1.38 and 2.0) shift+f10 does not create a dialog, it creates a popup menu, which isn't named. |
I see now. Yes, different popup. |
No :(. This is what I meant with "I failed to pick the mentioned menu" above. Maybe a search engine can help on this or some GTK expert. |
@ralf3u did it work using "menu" as the selector in the CSS? |
That works for me:
Then indeed not only the tab-switcher has a border but also the menu-list of each item of the menu bar. It is good to have it like this to make also there a clear separation between content and the rest around. Thank you so much for your help. |
Steps to reproduce
Result on a TFT/LCD-display
there is a thin gray border around the tab-switcher, so one can easily read the content of the tab-switcher
Result on a ePaper-display when using text-mode (text-mode means that there is only the black color on the display)
there is no thin gray border around the tab-switcher, so it is hard to read the content of the tab-switcher because there is no border at all around the tab-switcher
Expectation
a 1px black border around the tab-switcher would make it easier to read the content of the tab-switcher on ePaper-display when using text-mode
Remark I
in the application-switcher in Lubuntu 23.10 there is a 1px border around the application-switcher; the 1px border is a great help to read easier the content of the application-switcher on a ePaper-display when using text-mode
Remark II
Is there a way how I can change it now that there is a 1px black border around the tab-switcher?
Thank you for an answer
System
Lubuntu 23.10
Geany 1.38
The text was updated successfully, but these errors were encountered: