Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: CSS / Button problem

  1. #11
    Sencha User
    Join Date
    Jul 2010
    Location
    Craiova, Romania
    Posts
    47
    Vote Rating
    0
      0  

    Default

    Thank you so much. It worked BTW: I always used setStyleName. What is the diff between the last one and addStyleName ?

  2. #12
    Sencha User
    Join Date
    Jul 2010
    Location
    Craiova, Romania
    Posts
    47
    Vote Rating
    0
      0  

    Default

    Unfortunately now when I looked again, I observed that the hovering image doesn't appear when the mouse is over the button. That's strange.

  3. #13
    Sencha User
    Join Date
    Sep 2009
    Location
    Switzerland
    Posts
    29
    Vote Rating
    0
      0  

    Default

    Quote Originally Posted by sempervivo View Post
    Thank you so much. It worked BTW: I always used setStyleName. What is the diff between the last one and addStyleName ?
    The difference is, that setStyleName is overwriting all other styles added to this widget. addStyleName is just adding another one.

  4. #14
    Sencha User
    Join Date
    Sep 2009
    Location
    Switzerland
    Posts
    29
    Vote Rating
    0
      0  

    Default

    Quote Originally Posted by sempervivo View Post
    Unfortunately now when I looked again, I observed that the hovering image doesn't appear when the mouse is over the button. That's strange.
    Indeed. I'll look again into this.

  5. #15
    Sencha User
    Join Date
    Sep 2009
    Location
    Switzerland
    Posts
    29
    Vote Rating
    0
      0  

    Default

    So I checked the code again, but it seems to be correct. Just tested it again in my project. Workling like a charm... maybe I forgot to post something...

    Have you cleared your cache?

  6. #16
    Ext GWT Premium Member
    Join Date
    Oct 2009
    Posts
    139
    Vote Rating
    5
      0  

    Default

    hi,

    is this something would work under extjs 4.1 ? I am really looking for a main menu of image buttons (75 x 75 pixels).

    thx

Page 2 of 2 FirstFirst 12

Posting Permissions

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