Closed colbyaustinbrown closed 4 years ago
works fine for me (tm).
Thanks for the quick response! The screenshot you shared looks different from both that I shared above. I expect the boxes to all be equal width (100px), but in your screenshot they are exactly as large as their containing text.
I ran the above theme echo -en "one\ntwo\nthree" | rofi -no-config -theme test.rasi -dmenu
Can you try the above command? or paste me your whole theme?
output of:
rofi -theme ~/rofi/theme.rasi -dump-theme
/**
* rofi -dump-theme output.
* Rofi version: 1.5.4-dev
**/
element {
width: 100px ;
background-color: rgba ( 102, 102, 102, 100 % );
spacing: 5px ;
}
element-text {
background-color: rgba ( 0, 0, 0, 0 % );
text-color: inherit;
}
element-icon {
background-color: rgba ( 0, 0, 0, 0 % );
size: 1.2000ch ;
text-color: inherit;
}
listview {
layout: horizontal;
}
When I run rofi with -no-config
I get the exact same thing you got in your screenshot, with all the text visible but the textboxes still being shrunk to be exactly the width of the text instead of whatever width
is. Same thing when I remove show-icons: true;
from my config. My config file is:
/** Configured For Applets **/
configuration {
show-icons: true;
icon-theme: "Papirus";
location: 5;
yoffset: -50;
xoffset: -20;
}
Config taken from github.com/adi1090x/rofi since that's what I was originally trying to use.
Can you try git, I tried to fix it.
Yes, it's working. Thanks so much! :)
I am noticing something similar with the font
option inside element
blocks. I haven't put together a minimum example yet, although I do see expected behavior when I switch the 1.5.4 release. If I'm able to put together a minimum example, would that be best in a new issue?
there is a small difference (thanks need to mention this in the release notes) that now font setting needs to be set on element-text. (The default theme inherits from element).
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
Version: 1.5.4-126-git-db308d2e (next)
Configuration
https://gist.github.com/colbyaustinbrown/151c955823a621b06c5e69997b00f23b
Launch Command
echo "One\nTwo\nThree" | rofi -dmenu -theme ~/rofi/theme.rasi
Steps to reproduce
element {
width: 100px; background-color: #666666; }