Hi Alex,

thanks for your hints. I found no difference between calling setCursor()
directly or on the "appear" event. When I call setCursor on
uploadwidget.UploadField, then the cursor behaves correct over the widget
area, except over the button and the input field :(

Here is my code:

      var uploadButton = new uploadwidget.UploadField("upload", "Upload
Button", "cursortest/test.png");
      var uploadForm = new uploadwidget.UploadForm('uploadFrm','/cgi-bin/
uploadtest.pl');
      uploadForm.setLayout(new qx.ui.layout.Basic);
      uploadButton.setCursor("pointer");
      uploadForm.add(uploadButton, {left:0,top:0});

Regards, Florian


On 14 April 2010 09:04, Alexander Steitz <[email protected]> wrote:

> 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&#174; 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
>
------------------------------------------------------------------------------
Download Intel&#174; 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