Re: [AD] Check button bug

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> I think that when you specify the w and h of the component, you should
> take in consideration the size of the text. The idea is that even if you
> click on the text, the check box checks (it helps when you're in
> 1024x768...)

Quite right...
I'm not very fond of this semantics, but it probably was already discussed.

However, the doc is a little bit confusing:
"This is an example of how you can derive objects from other objects. Most
of the functionality comes from d_button_proc(), but it displays itself as a
check box."
It's all but clear that the w field is neither the width of the box nor the
width of the widget itself !

--
Eric Botcazou
ebotcazou@xxxxxxxxxx



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/