Xfce Forum

Sub domains
 

You are not logged in.

#1 2021-07-23 23:41:28

TiZ
Member
Registered: 2009-03-05
Posts: 14

Can I get rid of the border on xfce4-panel 4.16?

Hi there. Ended up migrated to Xfce 4.16 because I installed Arch trying to track down an Xorg crash. The one pixel border that used to be optional and only came with setting the style to "none (system theme)" now seems to be mandatory on all styles. The inspector doesn't show anything I can mess with CSS-wise, but it does let me set a "borders" property on the main window. When I set it to 0, my panel tales up exactly 26 pixels as I intended, and it looks like it did in 4.14. Is there a way I can automate setting this property, or a better way I can get rid of the border?

Offline

#2 2021-07-24 00:20:30

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,486

Re: Can I get rid of the border on xfce4-panel 4.16?

You can add the css to ~/.config/gtk-3.0/gtk.css - that will override the theme's settings.


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 2021-07-24 02:47:44

TiZ
Member
Registered: 2009-03-05
Posts: 14

Re: Can I get rid of the border on xfce4-panel 4.16?

I'm not sure that I have accurately communicated the problem I'm having. I know how to handle GTK CSS, trust me.

The problem is that I am pretty sure this one setting can't be changed via CSS. I've poked relentlessly with the inspector and googled all around, and found nothing. All I have found is this property here:

qgUavEY.png

I would like to change it without having to recompile xfce4-panel.

Last edited by TiZ (2021-07-24 02:48:10)

Offline

#4 2021-07-25 12:49:12

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,486

Re: Can I get rid of the border on xfce4-panel 4.16?

I've been investigating this and I can't seem to find any way to change this setting using CSS or xfconf. I notice you've created a bug report - perhaps one of the developers will comment.


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

#5 2021-07-26 01:05:23

TiZ
Member
Registered: 2009-03-05
Posts: 14

Re: Can I get rid of the border on xfce4-panel 4.16?

I actually ended up removing the section of code that decides what border mode to use and recompiling. I think that's a good place to implement an xfconf preference, might be a fun project to work on for a first pull request. smile

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.012 seconds, 7 queries executed - Memory usage: 534.38 KiB (Peak: 535.22 KiB) ]