MacArthur, Ian (SELEX GALILEO, UK) wrote:

> 
>> what you are talking about. Are you seeing Tux on the
>> right-handside and
>> the text on the left, but centred. Also, the last
>> line, "FL_IMAGE_TEXT_OVER_IMAGE", is cut off at the left and
>> appears to be behind Tux?
> 
> I'm not near a mac right now, but from memory...
> 
> Tux is on the right, text is to his left.
> The text "FL_IMAGE_TEXT_OVER_IMAGE" is cut of at its *right* hand end,
> so it says something like "FL_IMAGE_TEXT_OVER_I" instead, and appears to
> be behind Tux.
> 

Yeah, that's normal. I have an absurdly long reply to my question. I had
sent the message before I was done. Basically, the text is draw in the
empty space next to the image. What you are seeing is that the word
FL_ALIGN_TEXT_OVER_IMAGE is too long. You can see the same thing with a
Fl_Box. Set the FL_ALIGN_WRAP property of the Fl_Box and set the label to a
series of characters without any spaces, something
like "aaaaaabbbbbbbcccccc". You will see that, depending on the other
alignment flags, one or both ends of the Fl_Box's label will be cut off.

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

Reply via email to