Re: [AD] Check button bug |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
Eric Botcazou wrote:
>
> > + the right of the check, otherwise it will be on the left. Note that the
> > + width and height of the object (w and h fields) need to allow room for
> > + the text as well as the check box.
>
> Is a box always a square in English ?
> Otherwise, I think we should make clear that the check box is a square whose
> edge is h pixels long.
Other problem: calculating the box width isn't very trivial.
w = text_length() + 1 + h + text_height() / 2
Perhaps we can make the width automatic?
--
- Robert J Ohannessian
"Microsoft code is probably O(n^20)" (My CS teacher)