> 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?

Are you explicitly setting the alignment for the button and it still
aligns poorly?  If not, you'll want to use the align() method:

=====     =====     =====

void Fl_Widget::align ( Fl_Align  alignment  )  [inline]

Sets the label alignment. 

This controls how the label is displayed next to or inside the widget.
The default value is FL_ALIGN_CENTER, which centers the label inside the
widget. 


Parameters:
        [in] 
        alignment 
        new label alignment 
See also:
        align(), Fl_Align 

=====     =====     =====

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to