! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Fixed width separator
Status:
RESOLVED: MOVED
Severity:
enhancement
Product:
Xfce4-panel
Component:
Separator

Comments

Description dipap 2013-11-11 00:05:23 CET
When you have more than one expanding separators (like I have) and you use a plugin that changes horizontal size often (in my case, a genmon script for my music) All the expanding separators change size moving stuff left and right all over the panel.

It would be nice if you can have a separator in "fixed size" mode and can set its size in its preferences. That way you have only one expanding separator to fill up your panel and the rest of the panel items you want separated are kept at a steady distance at all times.
Comment 1 Vlad Marica 2019-12-18 06:54:12 CET
Created attachment 9316 
Patch for adding custom size option

Hi everyone, I thought I'd take a shot at this feature request. I'm new to Xfce development so hopefully I did everything right.

In the separator preferences dialog, I replaced the "Expand" checkbox with a "Size" combo box that has 3 options, "Default", "Expand", and "Custom". Selecting "Custom" enables the user to enter a custom size in the spinner that pops up.

Screenshots:
https://i.imgur.com/h20IbZa.png
https://i.imgur.com/EGqnXnC.png

I kept the "expand" boolean prop in the separator code to avoid messing up people's panels, but it can no longer be modified in the preferences dialog. Separators with the "expand" prop set to true will have their "size-type" set to expand on initialisation.

Cheers.
Comment 2 Git Bot editbugs 2020-05-28 01:49:36 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfce4-panel/-/issues/80.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #10481

Reported by:
dipap
Reported on: 2013-11-11
Last modified on: 2020-05-28

People

Assignee:
Nick Schermer
CC List:
1 user

Version

Version:
Unspecified

Attachments

Patch for adding custom size option (15.26 KB, patch)
2019-12-18 06:54 CET , Vlad Marica
no flags

Additional information