On 3 Mar 2012, at 17:09, Greg Ercolano wrote:

> On 03/03/12 08:34, yannick wrote:
>> I want menu to look like this:
>> 
>> +---------+
>> |@ Foobar |
>> |# bar    |
>> |$ baz    |
>> +---------+
>> 
>> where @, #, and $ represents images. But when I set image it show only that 
>> image, no text.
>> Right now I'm using FLTK v1.3.x-r9260.
> 
>       Don't know, someone else might be able to help with that.

I don't know either - I guess you'd want the equivalent of the FL_ALIGN options 
to do FL_ALIGN_IMAGE_NEXT_TO_TEXT - that would show the image with the label 
text to the right of the image.

Only we can't actually do that, so far as I know. Seems like it would be a nice 
thing to be able to do, for icons and labels in menus.

Maybe you can fake up that effect using conventional buttons - they will 
support images and text together just like that...?

I wonder why we don't have that already, actually?

-- 
Ian



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

Reply via email to