Results 1 to 4 of 4

Thread: [SOLVED]multiple east & west border layout region titles

  1. #1
    Sencha User
    Join Date
    Apr 2007
    Location
    Italy/UK
    Posts
    152

    Thumbs up [SOLVED]multiple east & west border layout region titles

    Hi I'm using a border layout with two collapsible east & west regions.

    I created the sideways text as an image in photoshop and use the following css to display them:

    PHP Code:
    .x-layout-collapsed-west {
        
    background-imageurl(images/westtitle.gif);
        
    background-repeatno-repeat;
        
    background-positioncenter;

    now i want to add another border layout panel with east and west regions inside a dialog box,

    how can i distinguish between the different regions so i can have different title images?

    or what is the best way to set the title images of the different regions

    Many thanks in advance

    Rgds, SJ

  2. #2
    Sencha User
    Join Date
    Apr 2007
    Location
    Italy/UK
    Posts
    152

    Default

    sorry this is a blatant bump, css is my least adequate skill, if anyone has any idea how i should go about this please let me know, best regards, SJ

  3. #3
    Sencha Premium User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,239

    Default

    You could probably do it by adding an extra css class, like:

    Code:
    var collapsed = layout.getRegion('west').collapsedEl;
    collapsed.addClass('west1');
    
    
    .west1
    {
       ...
    }

  4. #4
    Sencha User
    Join Date
    Apr 2007
    Location
    Italy/UK
    Posts
    152

    Thumbs up

    worked like a charm Evant, Many thanks!!


Posting Permissions

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