1. #1
    Ext User
    Join Date
    Oct 2008
    Posts
    55
    Vote Rating
    1
    ravi jain is on a distinguished road

      1  

    Default Add Horizantal line in panel

    Add Horizantal line in panel


    Hi,
    How can i add horizontal line into panel

  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    97
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    There are lots of possible solutions:
    1. Inner panels with borders.
    2. A box component with a border.
    3. An absolutely positioned element with a border.

    Post your panel code if you have problems implementing one of the above.

  3. #3
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,546
    Vote Rating
    64
    Animal is a jewel in the rough Animal is a jewel in the rough Animal is a jewel in the rough

      1  

    Default


    An anonymous Component who's autoEl is {tag:'hr'} ?

  4. #4
    Ext User
    Join Date
    Oct 2008
    Posts
    55
    Vote Rating
    1
    ravi jain is on a distinguished road

      0  

    Default


    Thanks Animal!!

  5. #5
    Ext User
    Join Date
    Oct 2008
    Posts
    55
    Vote Rating
    1
    ravi jain is on a distinguished road

      0  

    Default


    Hi,
    How can i draw vertical line into panel.... i tried like horizontal line as above solution but its not working... can anyone give me solution for vertical line...

    Thanks.

  6. #6
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,546
    Vote Rating
    64
    Animal is a jewel in the rough Animal is a jewel in the rough Animal is a jewel in the rough

      0  

    Default


    What's the UI problem you are trying to solve? What do you want your Panel to look like?

  7. #7
    Ext User
    Join Date
    Oct 2008
    Posts
    55
    Vote Rating
    1
    ravi jain is on a distinguished road

      0  

    Default


    What's the UI problem you are trying to solve? What do you want your Panel to look like?

    Horizontal line reder fine but vertical line is not render because there is no tag for vertical in html.... but for horizontal is 'hr'... then what is for vertical line...
    I am creating a panel in which one textfield and button after this i wanted to put vertical line.

    Thanks.

  8. #8
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,546
    Vote Rating
    64
    Animal is a jewel in the rough Animal is a jewel in the rough Animal is a jewel in the rough

      0  

    Default


    I can't understand what you really need here. A little tiny line just after a button? A full-height line dividing the whole Panel into two?

  9. #9
    Ext User
    Join Date
    Oct 2008
    Posts
    55
    Vote Rating
    1
    ravi jain is on a distinguished road

      0  

    Default


    I am not able to attching my snap shot...
    Requirement : I required 4 panels(height:500,width:'auto') in a row and between panels i required one vertical line. I think you got my probelm...

    Thanks...

  10. #10
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,546
    Vote Rating
    64
    Animal is a jewel in the rough Animal is a jewel in the rough Animal is a jewel in the rough

      0  

    Default


    I have no idea what you need.

Thread Participants: 3