rafa wrote:
> Hi Greg and Thank you.
> All work now, but image is not center on button. It is lightly placed on top 
> of button area. For solve it, must I to redefine draw method of button 
> widget? or there is another way?

        You'll need to use align(FL_ALIGN_INSIDE|FL_ALIGN_CENTER);
        to center the image inside the button.

        See the docs on Fl_Widget::align() for more info:
        http://fltk.org/documentation.php/doc-1.1/Fl_Widget.html#Fl_Widget.align
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to