comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » rescaling draw widgets: is there an easier solution to this?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: rescaling draw widgets: is there an easier solution to this? [message #89571 is a reply to message #89570] Mon, 27 October 2014 10:25 Go to previous message
Lajos Foldy is currently offline  Lajos Foldy
Messages: 176
Registered: December 2011
Senior Member
On Monday, October 27, 2014 5:57:49 PM UTC+1, wlandsman wrote:

> Number 1 would be the ability to easily add color to widget buttons, so as to upgrade from the 1980's look.

I am working on style sheets for widgets in FL. Here is an example:

pro test
base=widget_base(xs=200, ys=100)
text=widget_text(base, value="Hello world!", xoff=50, yoff=30, xs=100, ys=50, $
style_sheet="background-color: green; color: yellow")
widget_control, /realize, base
xmanager
end

It produces this widget: http://fl.t15.org/hello.png

But is is far from complete :-(

regards,
Lajos
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDL Way to have a single row/collum act on all rows/collums in an array
Next Topic: Islands disappear with cgmap_GSHHS and GSHHS 2.3.0

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 17:27:38 PDT 2025

Total time taken to generate the page: 0.00535 seconds