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

3 rows in a column sticks sometimes #62

Closed
carlosfhernandez opened this issue Apr 4, 2014 · 5 comments
Closed

3 rows in a column sticks sometimes #62

carlosfhernandez opened this issue Apr 4, 2014 · 5 comments

Comments

@carlosfhernandez
Copy link

Win 7, ST3
When I have a 3-row column sometimes (I haven't been able to find a commonality) the vertical resize ends up having an upper or lower limit.

As an example, the middle row on the column may not be able to be sized down past half-way. This limit seems to be random, and not always the same place.

I can do more experiments and provide any other detail you want.

@adzenith
Copy link
Member

adzenith commented Apr 4, 2014

If you can get a repro on this that would be great!

@nirazul
Copy link

nirazul commented Apr 16, 2014

Mac OSX, ST2

I've got the same behaviour. I have a 3-row layout, each containing two columns. When I try to alter the size of the lowermost column, it snaps to the size of the uppermost column and can't be dragged beyond that point.

The snap positions are very clear. The lower column's code starting point (not the border or the line number column) is aligned to the border of the top column.

window

@adzenith
Copy link
Member

Oh, I see what you're talking about.
Yes, this is a bug in Sublime's mouse layout handling. I don't think that there's anything I can do about it, unfortunately. I don't actually control the way the mouse dragging works, because Sublime doesn't allow real mouse handling. I can only control the keyboard stuff.

@thorink
Copy link
Contributor

thorink commented Oct 9, 2014

The problem here is that the layout is based on a grid. The groups can be assigned not only to one grid cell, but can span over several. Image there are 9 groups on this 3 x 3 grid. Not good, but one can imagine the implementation behind it.

As a workaround you can use my resize_pane command wich was includen a few days ago. You can type in the desired position of the border by hand. It handels the reassigment of groups to grid cells.

@adzenith
Copy link
Member

Closing as a duplicate of #72, which has slightly more in the way of progress.

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

No branches or pull requests

4 participants