Re: [Evolution-hackers] The component buttons mockup



Another implementation attempt:

http://primates.ximian.com/~jpr/screenshots/button-bar-1.png
http://primates.ximian.com/~jpr/screenshots/button-bar-2.png
http://primates.ximian.com/~jpr/screenshots/button-bar-3.png

Basically it takes the maximum button width of all the buttons and if it
has only enough space for one across then it does that, other wise it
fits a minimum of two in with even numbers of rows where possible, if
not possibly you get shot 2 where the odd button is at the bottom. 
Finally you get shot 3 where all the buttons fit in one row.  If there
were 4 buttons it would go rows of 1, 2, 4 buttons wide.  If there were
6 buttons it go rows of 1, 2, 3, 6 buttons wide.

-JP
-- 
JP Rosevear <jpr ximian com>
Ximian, Inc.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]