Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow tab width to be set via "Edit -> Preferences -> Advanced". #59

Merged
merged 8 commits into from
Dec 3, 2021
Merged

Allow tab width to be set via "Edit -> Preferences -> Advanced". #59

merged 8 commits into from
Dec 3, 2021

Conversation

davesp
Copy link
Contributor

@davesp davesp commented Aug 9, 2018

The goal of this modification is to allow users, who may open many tabs per window, to see the activity of their tabs without having to hit the left- and right-arrows on the tab line to find out if any of their tabs have had activity.

The new tab width takes effect when the next tab is created. If a tab width has not yet been set, the width is set to 100 (the default width in previous releases).

It might make for a cleaner UI if, when the new tab width is set, the current child tab label widgets were iterated-through to change their widths to the new setting; I'm open to suggestions as to how to best make that happen.

The proposed max (1000) may be a little high, but I was thinking about the width of screens these days. (Not sure who would want a tab 1000 pixels wide, though.)

Another option could have the width of each tab auto-resize to fit the contents of its current label, but doing so might defeat the goal of seeing the status of all tabs at once. (A possible enhancement could be a way to bring up a list of all of the tab titles to see their statuses, like "<Ctrl-A> <Enter>" in GNU Screen. Another day, perhaps.)

Any and all comments are welcome.

@davesp davesp changed the title Allow tab width to be set via "Edit -> Preferences -> Advanced". Allow tab width to be set via "Edit -> Preferences -> Advanced" (and re-orderable tabs). Nov 10, 2018
@mtasaka
Copy link
Contributor

mtasaka commented Nov 26, 2018

Making tabs reorderable as you provided has a problem which is now discussed on #50 .

@davesp davesp changed the title Allow tab width to be set via "Edit -> Preferences -> Advanced" (and re-orderable tabs). Allow tab width to be set via "Edit -> Preferences -> Advanced". May 4, 2020
@davesp
Copy link
Contributor Author

davesp commented Feb 4, 2021

The "autogen.sh" command results in "No package 'gtk+-2.0' found", and there's no such package in Debian "bullseye/sid".

@wb9688
Copy link
Contributor

wb9688 commented Feb 4, 2021

@davesp: The Debian package is called libgtk2.0-dev.

@davesp
Copy link
Contributor Author

davesp commented Feb 4, 2021

Thank you, that resolved the issue. It's been a while since I tried compiling this branch. Also had to add package "libvte-dev".

@davesp
Copy link
Contributor Author

davesp commented Dec 3, 2021

Just merged the latest "lxde:master" into "davesp:add-tab-width-pref", and it still builds. Any thoughts on when this feature could be merged to master?

@FinboySlick FinboySlick merged commit 0febe16 into lxde:master Dec 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants