Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 28

Thread: Problem with Buttons and setStyleName

  1. #11

    Default

    I uses GXT 2.0.

    The download was done yesterday

  2. #12
    Sencha Premium Member
    Join Date
    Sep 2007
    Posts
    13,976

    Default

    Quote Originally Posted by frankyro View Post
    I uses GXT 2.0.

    The download was done yesterday
    Your problem is not a bug or a problem. The stylename gets assigned to the component. That is what add/setStyleName is doing.

  3. #13

    Default

    I've downloaded the gxt-2.0-rc1 version. I assume that the css folder inside it is the latest..
    But how the css of the GXT is reflected in the eclipse ? cause I've added the ExtJS libraries (and css's) but I can't see anything related to the GXT css...
    Guys

  4. #14

    Default

    But the Style of the Button doesn't change.

    I put the Resource Folder in my Projekt and the stylesheet is part of the Head just as the gxt-all.css. I do not understand it because when I use a gwt button it works perfectly.

  5. #15

    Default Button Styling

    Hi,

    I managed to see the button styling - after I've imported into the eclipse the gxt-all.css, updated the module's XML file and copied the btn.gif into the images folder...

    Everything is working fine now except one question -
    Which resources do I have to put ? ExtJS's or ExtGWT's ?? I've imported ExtJS css,js and image files. What should I do with the ExtGWT files.. ?
    Guys

  6. #16
    Sencha Premium Member
    Join Date
    Sep 2007
    Posts
    13,976

    Default

    You have to use the Ext GWT resources.

  7. #17

    Default

    OK ... I've followed your tutorial... They said to import the ExtJS Styling, Images and JS files..

    So in the bottom line - I'm removing the ExtJS components from my project (ext-all,ext-core,images folder and css folder ...) and replacing them with their corresponding GWT files ?
    Guys

  8. #18
    Sencha Premium Member
    Join Date
    Sep 2007
    Posts
    13,976

    Default

    yes, you dont need to inlcude any stuff from extjs

  9. #19

    Default

    Thanks ! It works Perfect !
    Guys

  10. #20

    Default

    Hi,
    I am having the same problem,
    the button shows only the text and not the button image, its get clicked also.
    and when i try the gwt button its shows up the button.
    And i am using the lastest images frm the "gxt-2.0-m2" bundle
    and the btn.gif is also there
    please any help?

Page 2 of 3 FirstFirst 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •