-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Unlock layout bias' upper limit #3439
Comments
There has to be some limit, layouts are not designed to hide windows |
Maybe it could be 99, then?
Sure. I have a split which acts as a text input for sending commands to other splits, so ideally I'd have it really short. 90 is good already but I'd like to experiment with more... Maybe 94 or 96 as suggested. |
On Sun, Apr 04, 2021 at 04:58:29AM -0700, João Paulo Silva de Souza wrote:
> There has to be some limit, layouts are not designed to hide windows completely other than the stack layout.
Maybe it could be 99, then?
Doing that would require making sure that elsewhere in the code things
dont break if the window becomes too narrow. They shouldnt, but...
Note that 0.9 is the cap in other places as well, for instance
in safe_increment_bias()
This could be raised, however, as I said doing so will require careful
testing/review.
> May I case what the limit of 90 is preventing you from doing?
Sure. I have a split which is a text input for sending commands to other splits, so ideally I'd have it really short. 90 is good already but I'd like to experiment with more... Maybe 94 or 96 as suggested.
The proper fix for this is #2391
Until then, perhaps just live with a slightly fatter than optimal window :)
|
It does feel like it's capped in other places indeed. Even with the patch I posted in the OP, I still cannot make shorter with manual resizes.
It's relevant for this to still be ratio-based instead of a fixed size. I didn't see a mention of "ratio" in that discussion although, if that's planned as well, alright.
I'm interested in the possibility of trying it out locally. Where more would I need to look at outside from the places I had already changed in the OP's patch? |
Actually nevermind the ratio-based idea. I think fixed size would work out as well for this. Closing in favor of #2391. |
Is your feature request related to a problem? Please describe.
Would it be feasible to allow bias above 90? As an experiment, I tried to modify the source code in the relevant places but it didn't make a noticeable difference. e.g. let's say 96
The layout I used was:
Describe the solution you'd like
Allow bias to be above 90. Unless there are implementation infeasibilities, to me it doesn't make sense to limit it; let the user deal with the consequences if there are any.
The text was updated successfully, but these errors were encountered: