Hi Alex,

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});


Regards, Florian

On 13 April 2010 13:01, Alexander Steitz <[email protected]> wrote:

> Hi Florian,
>
> On Tuesday April 13 2010 10:41:37 Florian Giesen wrote:
> > thanks for your answer. In my code i used uploadwidget.UploadButton
> > (UploadWidget contribution) wich subclasses qx.ui.form.Button. With
> > qx.ui.form.Button setting the "cursor" property works fine, but
> > with uploadwidget.UploadButton it doesn't.
> >
> > I had a look in the code of uploadwidget.UploadButton an found the method
> > _SetStyles() where "cursor" is already set to "pointer", but that
> obviously
> > has no effect.
> As far as I can see is the style is set to an INPUT element which is a
> child
> element of the button, but not the button itself.
> So the setting of the cursor style should work also at the UploadButton
> widget.
>
> Can you please post a small code snippet to check against?
>
> cheers,
>  Alex
>
>
> ------------------------------------------------------------------------------
> 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