From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Mon, 27 Apr 2009 14:48:41 +0200 Message-ID: From: yy To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [9fans] Acme column layout box and buttons Topicbox-Message-UUID: f33d8b5c-ead4-11e9-9d60-3106f5b1d025 2009/4/27 Balwinder S Dheeman : > That's a lot of good actions attached to all the three buttons for > handling vertical layouts. How about adding similar actions to all the > three buttons for managing horizontal layouts to a column /layout box/. > I had a patched version of acme to do this. It is not such a trivial thing as it looks like, but it is not difficult. However, it doesn't work so good in practice as in theory. I found disturbing that after pressing the right button the column was moved to the first place, and doing it without moving the column was a mess because of the mouse events (at the end I think I just moved the column to the first place and then back to its previous position). Other problem I had was that I didn't have very clear what to do with the middle button (taking the maximum space and having small columns is not a practical thing). On the other hands, growing columns with the left button is an easier thing (once you decide all your heuristics). Anyway, it was my first look into acme code and there probably are better ways to do it. What did you have in mind? -- - yiyus || JGL .