Xfce Forum

Sub domains
 

You are not logged in.

#1 2018-12-21 15:04:21

neshom
Member
Registered: 2018-12-21
Posts: 2

More space between icon and text

Hello,

This is my first post in this forum.

I am using Numix theme in XFCE 4.12 and I like it very much except the how it shows the Open File dialog (below snapshot). I would like to increase the space between text and icon in the highlighted area.

Does anyone know how I can adjust it?

open file dialog

Last edited by neshom (2018-12-21 15:05:34)

Offline

#2 2018-12-21 15:51:44

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

Re: More space between icon and text

Hello and welcome.

Add the following to ~/.config/gtk-3.0/gtk.css:

filechooser .sidebar-revealer image { padding-right: 40px }

...change the "40" to suit.


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 2018-12-21 19:59:16

mint4all
Member
From: off the map
Registered: 2018-08-21
Posts: 265

Re: More space between icon and text

ToZ wrote:

Hello and welcome.

Add the following to ~/.config/gtk-3.0/gtk.css:

filechooser .sidebar-revealer image { padding-right: 40px }

...change the "40" to suit.

For those of us that have not yet migrated their version of thunar to gtk-3 (i am on v1.6.11), is there an equivalent gtk-2 setting i could use? Thanks.

Happy Holidays to you! m4a


Linux Mint 21.2 -- xfce 4.18 ... Apple iMAC -- Dell & HP Desktops and Laptops -- Family & Community Support

Offline

#4 2018-12-21 20:21:27

neshom
Member
Registered: 2018-12-21
Posts: 2

Re: More space between icon and text

ToZ wrote:

Hello and welcome.

Add the following to ~/.config/gtk-3.0/gtk.css:

filechooser .sidebar-revealer image { padding-right: 40px }

...change the "40" to suit.

I tried this, but does not work. Changing 40 also doesn't do anything. Do I need to log-out and in again?

Thanks

Offline

#5 2018-12-21 21:31:25

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

Re: More space between icon and text

@neshom, it works here for me. The screenshot above looks like the GTK3 FileChooser dialog. From which program did you get that dialog?
Also, can you post back:

cat ~/.config/gtk-3.0/gtk.css

@mint4all, I can't seem to find a way to do it. The element is a GtkTreeView where each row has an icon and a label, but there doesn't seem to be a way to add spacing between the two. At least that I can find.


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

Board footer

Powered by FluxBB