rofi icon indicating copy to clipboard operation
rofi copied to clipboard

Multiple UI element styling broken with new Rofi version

Open aquova opened this issue 4 years ago • 6 comments

With the update to Rofi 1.7.0, a number of elements have been broken, for example all of the 'colorful' themes now have entirely white elements behind each entry. This seems to be a known incompatibility introduced with the latest Rofi version - https://github.com/davatorium/rofi/issues/1397

aquova avatar Aug 30 '21 22:08 aquova

I use launcher.rasi and powermenu.rasi, adding

element-text, element-icon {
    background-color: inherit;
    text-color:       inherit;
}

to those files fixes the color problems.

There's still a problem with the spacing of the powermenu:

image

zjeffer avatar Aug 31 '21 10:08 zjeffer

I also had problems with off-centered icons. I was able to fix it by adding

    horizontal-align:   0.5;
    vertical-align:     0.5;

to element-icon

stfnwp avatar Aug 31 '21 17:08 stfnwp

I think that the following is more robust to avoid issues with colour matching:

element-text, element-icon {
    background-color: transparent;
    text-color:       inherit;
}

Giannie avatar Sep 01 '21 01:09 Giannie

I also faced another probelm icon and text is not centered (bug) https://github.com/davatorium/rofi/issues/1419 Hope it will help

plus9a avatar Sep 02 '21 06:09 plus9a

The icon alignment is a bug that slipped through the cracks. (I need more people testing git version :hugs: ) That will be fixed in 1.7.1 I expect to release soon.

DaveDavenport avatar Sep 02 '21 07:09 DaveDavenport

I just installed latest version of this thing(and rofi, clean system install) and still have problem with white squares behind all text on all themes, not only colorful, all of them

sTiKyt avatar Sep 27 '21 13:09 sTiKyt