1. #1
    Ext User 0xception's Avatar
    Join Date
    Apr 2007
    Posts
    33
    Vote Rating
    0
    0xception is on a distinguished road

      0  

    Default ComboBox % width

    ComboBox % width


    Hi,

    I have a comboBox inside a resize-able layout and i would like the combo box to be 100% width. I'm using the transform on a pre-existing select tag so setting that tags width to 100% fails as the select tag doesn't exists and gets turned into other fields. I've been searching around in the css for the combo box and I've run into all sorts of different classes. I was wondering if any one knew the correct class i need to edit to have a combo box width be 100% of the inner layout (that way when you adjust the layout size the comboBox also adjusts with it).

    Thanks for any help.

    I found my answer, x-form-text is the class... however when i was setting this width: 100% it would not auto adjust w/ layout resize and it's because the div with the class x-form-field-wrap is getting it's width set to a specific pixel size. (this is on the element itself and not in the css)... any idea of a way to stop this? otherwise i might have to go through the lib and look for where it sets the input box size to fix it.

  2. #2
    Ext User 0xception's Avatar
    Join Date
    Apr 2007
    Posts
    33
    Vote Rating
    0
    0xception is on a distinguished road

      0  

    Default


    Okay...

    Well fixed the problem for good this time, the css class x-form-field-wrap just needed to over write the element style w/ the !important addition on the css property... easy enough and kinda a dumb question now that i look back.. maybe this will help someone else

    so i just added a

    width: 100% !important; to the css class x-form-field-wrap

  3. #3
    Ext User 72's Avatar
    Join Date
    Apr 2007
    Location
    Czech republic, EU
    Posts
    152
    Vote Rating
    0
    72 is on a distinguished road

      0  

    Thumbs up


    Helpful .. Mr. Jan Itor
    72

  4. #4
    Ext User
    Join Date
    Feb 2008
    Posts
    180
    Vote Rating
    0
    luv2hike is on a distinguished road

      0  

    Default


    You also could've added
    PHP Code:
    anchor:"100%" 
    to its config, I believe.

Thread Participants: 2

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar