Just wanted to let you know that getLabelObject().setFont(myFont); is working great! I was creating the label during creation but getLabel() was not returning anything except the text of the label. getLabelObject() works perfect.
Thanks,
Jim
On 5/10/06, Jim Hunter <[EMAIL PROTECTED]> wrote:
Those are good thoughts. I will have to try to elaborate on them tomorrow at work. For the color of the button, I had to create a new theme. but it worked very well. I have not found a way to change the button color on the fly.
Thanks for the suggestions, I think I can use them to get past a few things.
JimOn 5/10/06, Ralf Wenske < [EMAIL PROTECTED]> wrote:
In sequence to my prior posting I just came across one of the reasons
why I was confused about things in relation to this topic:
If you create the QxButton without a label parameter then there is no
label object. I used setLabel("...") after the code which tried to set
some label attributes.
like so:
btn = new QxButton;
btn.getLabelObject().setBackgroundColor(new QxColor("yellow"));//error
btn.setLabel("BUTTON");
btn.getLabelObject ().setBackgroundColor(new QxColor("yellow"));//ok
for a while I didn't get anywhere when trying to figure out how to
access that label.
Thought it might help you as well when figuring things out...
Cheers
Ralf
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
