Xfce Forum

Sub domains
 

You are not logged in.

#1 2018-12-30 20:30:27

horakmar
Member
From: Czech Republic
Registered: 2013-08-16
Posts: 4

Panel launcher icons too small

Hello.
After upgrade to Xubuntu Bionic (18.04.1) I am struggling with too small icons in panel launchers. It's probably related to padding or margins.
I tried all recipes I found:
https://forum.xfce.org/viewtopic.php?id=12575
https://bbs.archlinux.org/viewtopic.php?id=222292
None of them works for me. :-(

Old look (OK):
Old look
Version: xfce4-panel 4.12.0 (Xfce 4.12)

New look (too small):
Old look
Version: xfce4-panel 4.12.2 (Xfce 4.12)

Panel is 24 px in height.

Could you please give me some advice?

Last edited by horakmar (2018-12-30 20:31:09)

Offline

#2 2018-12-30 22:19:21

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: Panel launcher icons too small

Hello and welcome.

Which GTK Appearance themes are being used in both of those images?
Are those icons launchers or the Window Buttons plugin?

Note that the info from the first link won't work because the 4.12 branch of xfce4-panel is still based on GTK2.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2019-01-10 10:09:51

horakmar
Member
From: Czech Republic
Registered: 2013-08-16
Posts: 4

Re: Panel launcher icons too small

Hello.
Both images are taken from Adwaita theme.
They are Program Launchers, but Window Buttons behaves similar way.

I tried also this: https://forum.xfce.org/viewtopic.php?id=8120
If it's still GTK2 based, it probably should work, but it doesn't.
My ~/.gtkcr-2.0 looks like this:

style "mlaunch" {
    xthickness = 1
    ythickness = 1
}

widget "*launcher*" style "mlaunch"

But has no effect at all.

Offline

#4 2019-01-19 16:59:41

horakmar
Member
From: Czech Republic
Registered: 2013-08-16
Posts: 4

Re: Panel launcher icons too small

No idea so far?

Offline

#5 2019-01-19 18:16:19

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: Panel launcher icons too small

Sorry for the delay.

This is a difficult one in that I don't understand why that isn't working. If you do this instead:

style "mlaunch" {
    xthickness = 0
    ythickness = 0
}
class "GtkButton" style "mlaunch"

...then it does work, but it will affect all GtkButtons being displayed (which might be acceptable to you - I don't know). But I really don't know why your initial snippet doesn't work with the gtk2 Adwaita theme.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#6 2019-01-23 20:51:39

horakmar
Member
From: Czech Republic
Registered: 2013-08-16
Posts: 4

Re: Panel launcher icons too small

Sorry, my fault! I had bad filename (.gtkcr-2.0 instead of .gtkrc-2.0)
Now it works, both variants:
class "GtkButton" style "mlaunch"
and
widget "*launcher*" style "mlaunch"

So I used the latter.

Thank you very much!

Offline

Board footer

Powered by FluxBB