From: Alex T. <al...@tw...> - 2005-11-02 13:48:50
|
Many months ago, there was some discussion about sizers, etc. One nice simple idea was suggested; at the time, I kind of "rejected" it because there are some simple things it didn't get quite right. But recently I decided there were more things it could do right - and it was very simple. So I implemented something loosely based on that thread in the simpleSizer which I added to PythonCard in the last 2 or 3 months; when I was doing that, I couldn't find the original email thread, so I didn't remember who had suggested it, and couldn't properly thank Fred for suggesting it. But today I stumbled over it - so here is a belated attribution of the idea .... thanks Fred. (And I realize my memory wasn't quite perfect, so it is much more "loosely" based than I had thought.) Sells, Fred wrote: >> B. Geometry managements (aka sizers, resizing, etc.) >> We had a simple grid (default to 100x100) with "attachment >> properties" on >> each widget. If both right and left edge of widget were attached, it >> would >> move and resize with window resize, etc. To simplify the use of >> attachement, we had an attachment dialog that had 4 sets of identical >> "attaching controls" arranged at North, South, East, West. Combined >> with >> multiple widget select, you could attache left and right sides of a >> bunch at >> once, then go back and individually set top,bottom. It was not as >> elegant >> as most UI builders, but it was easy (the product was, after all, "ezX") >> >> > I think it's a little bit too simple for Pythoncard; it can't > adequately handle some very simple cases (e.g. the scrolling text > dialog, with one growable size textarea and one fixed size button > below it), and I think that could put a lot of people off. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.12.6/152 - Release Date: 31/10/2005 |