Home »
Public Forums »
archive »
Buttons in Widgets
Buttons in Widgets [message #80567] |
Mon, 25 June 2012 02:54 |
Helder Marchetto
Messages: 520 Registered: November 2011
|
Senior Member |
|
|
Hi,
I'm don't like that much how the buttons of IDL widgets look (Widget_button) even when using the /bitmap argument. I am exploring the solution of using a draw_widget, making it of the same color as the background(*) and then filling it is with my own drawing. The difference between the two methods is that the borders of the buttons will appear different: for a button widget these are defined by the IDL and for a draw widget one can have "no" borders or define how these look like. Another advantage is that one can have the effect of having an something like an icon floating on a background.
Has anybody tried doing such things? So far it seems to do the job for me, but I haven't played too much with it yet.
(*) Is there a way to find out what color the base widget has and/or to define it?
Cheers,
Helder
|
|
|
Current Time: Wed Oct 08 17:40:54 PDT 2025
Total time taken to generate the page: 0.00537 seconds