-
Notifications
You must be signed in to change notification settings - Fork 609
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
[BUG] icons get smaller after upgrading to 1.6.0 #1185
Comments
Not a bug, but caused by change in release (see release notes). Default theme fixes this, your theme does not have this fix. element-icon {
size: 1.2ch ;
} icon is separate widget now, so more theming options are possible. |
I actually have tried this fix, it does not work for some sort of reason?
This is my theme |
increase the size until it is the size you want? probably 1.2 em will do what you want (1.2 times estimated font size). |
Thank you, so 1.2em will go back to the original size? Cuz I really liked that size EDIT: |
original size should be +- 1.0 em.. 1.0ch should about same as the width of a character. There was an issue that some versions on pango reported the font slightly lower then it was after rendering, so that might sideways affect things too. |
@DaveDavenport with all due respect, I use the default theme and my icons are small. I don't understand, is the only solution to this to make a new theme with only icon size changes? You do say default theme fixes this, but for me icons are still very small with the default config and theme. |
no you don't need a new theme.. you can add this single modification to your configuration file. If not set, the size of the icon is set to 16 pixels. .. The default theme changes is to 1.2 times the width of a character (according to what pango reports). This worked well for me in the past to make it nicely fit with the text. I now changed the default theme in git to use the (measured) font height instead of width, in hope to better emulate the old behavior for other people. I never had the very small icons myself, while developing, I think this is because of the type of font I use by default. On top of this, none of the beta testers in the past almost year complained about this, so this one fell through the cracks. |
Thank you for the response! I am not looking for you to change anything, I am just trying to understand how, in the 1.6.0 version of rofi, how to change the icon size without a theme. I only wanted to know, because I did not understand. I wish you the best and thanks for the new release! |
add the above section to the end of your config.rasi file, and it should be applied on top of the set theme, if no theme set it is applied on top of the default one. element-icon {
size: 1.0em ;
} or you can pass it on commandline (easy to testing changes): |
Works perfectly! thank you very much. |
As mentioned here: davatorium/rofi#1185
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Version
Configuration
https://gist.github.com/DimLight1998/dee32e016ac2ef0cc0bf2e889bcb47d1
(I have
Xft.dpi: 96
in my ~/.Xresources but I don't know if it is related to the bug.)Launch Command
rofi -show drun
rofi -show combi -combi-modi drun#run
rofi -show window
Steps to reproduce
rofi -show drun
from a terminalWhat behaviour you see
(screenshot of 1.6.0)
What behaviour you expect to see
(screenshot of 1.5.4)
The text was updated successfully, but these errors were encountered: