Re: alignment of 2x2 tilings

Tuomo Valkonen <[email protected]>
Newsgroups gmane.comp.window-managers.ion.general
Message-ID <[email protected]>
On 2007-10-26, Joerg van den Hoff <[email protected]> wrote:
> I would think the final 2x2 layout should always look the same (and
> have aligned title bars). would this really require some "dirty"
> fiddling?

Yes. When you first split horizontally, the left frame (in the stock
setup) is smaller than the right one because of the statusbar. Now
when you split both of them vertically into two equal parts, they
can't align. Seeking for another tab to align at would be an ugly
heuristic -- that would likely give you a different result depending
on which frame you split first -- and I don't like heuristics. 
Aligning the splits at some grid coarser than the statusbar might
work more nicely, but what's the point anyway? You can't operate
the frames as if you'd split the other way around in the first
place. I know of no good way around this limitation/feature of 
the Ion and perhaps any tiling model. You could of course write
some dirty heuristics to alter the layout on some resize operations,
but heuristics suck, and so does requiring the user to indicate 
whether they intend to resize a whole column or just one frame 
altering the layout to suit this. If such input is required, you
could just as well call a transpose or such command.

-- 
Tuomo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.