Xfce Forum

Sub domains
 

You are not logged in.

#1 2015-03-25 15:26:38

Hudd
Member
Registered: 2014-10-18
Posts: 4

Panel length in pixels instead of percentage?

I've found this thread: https://forum.xfce.org/viewtopic.php?id=8369
But there is no answer. Is it possible to do?

Offline

#2 2015-03-25 17:59:39

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

Re: Panel length in pixels instead of percentage?

Taking a quick look through the code, I don't think so. It appears to work on percentages, not pixels.


EDIT: Not sure if this will help you, but you can have some control over the top/left (x,y) position of the panel. Each panel has a "position" parameter:

xfconf-query -c xfce4-panel -p /panels/panel-1/position

The "p" is the position and is defined as:
p=0: free position
p=1: right border
p=2: upper right corner
p=4: bottom right corner
p=5: left border
p=6: upper left corner
p=8: bottom left corner
p=11: upper border
p=12: bottom border

If p is one of 2,4,6,8, it is in one of the corners and the x and y values are ignored.
If p is one of 1,5 (side border), the y value is used.
If p is one of 11,12 (top/bottom border), the x value is used.
Only in a situation where p=0 (free-standing) are both x and y used.

You can manipulate the x,y values using the Settings Editor or directly via xfconf-query.

Last edited by ToZ (2015-03-25 18:10:08)


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

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

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.015 seconds, 11 queries executed - Memory usage: 522.09 KiB (Peak: 522.93 KiB) ]