Hi Florian,

have you tried to set the cursor property inside an "appear" listener? This 
way the widget is already initialized and maybe you can override some settings 
only afterwards since they are hard-coded inside the upload button widget.

Another hint: the uploadbutton is always used as a component of the uploadfield 
widget. Maybe this widget is also setting a cursor property as default.

cheers,
  Alex

On Tuesday April 13 2010 14:21:54 Florian Giesen wrote:
> here is my code snippet from the modified skeleton application:
> 
>       // Create a button
>       var button1 = new qx.ui.form.Button("First Button",
> "cursortest/test.png");
>       button1.setCursor("pointer"); // is ok
> 
>       // Create an upload button
>       var uploadButton = new uploadwidget.UploadButton("upload", "Upload
> Button", "cursortest/test.png");
>       uploadButton.setCursor("pointer"); // nothing happens :-(
> 
>       // Document is the application root
>       var doc = this.getRoot();
>       // Add buttons to document at fixed coordinates
>       doc.add(button1, {left: 100, top: 50});
>       doc.add(uploadButton, {left: 100, top: 100});

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to