On 25.02.2011, at 17:03, Sam wrote:

> I'm having alignment problems which looking back at former posts, no answers 
> were given.
> 
> The problem is when I define an image and place it on a button. I'm using 
> 1.1.10 on an XP system. The bottom of the image is centered on the button. ie.

1.3 has many more options. In 1.1, images are not meant to be backgrounds for 
buttons, but additional indicators, aligned to the label. If you want a 
backdrop image, you must override yourWidget::draw(), or use FLTK 1.3

> Fl_Button *button = new Fl_Button(0,0,30,30,"");
> button->image(gifImage);
> 
> Alignment works except button->align(FL_ALIGN_INSIDE);

I don't understand. Is this a question?

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

Reply via email to