(Container size - (4 * button width)) / 5 = spacing

5 spacing = left edge + 3 spaces between buttons + right edge

Fred


On Tue, May 17, 2011 at 5:23 AM, Eurico Chagas Filho <[email protected]
> wrote:

> Hi
>
> I have a container that fits the top of the screen horizontally, it has 4
> buttons, same size,
>  that i need to layout equally spaced on the width of the container.
> Does anyone know an algorithm to do this ?
>
> TIA, E.
>
>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to