Jump to content

Collapsible Panel


pflam

Recommended Posts

Hi,

the bar is changed back to the origin layout when it is collapsed.

i set Layoutconfig.Region = north, or  Layoutconfig.Width=100%

           image.png.a1c5e631dadd43ac2aa0124c379cf837.png

 

           image.png.9ca1acc4afd9a2809ca22cf07e38b54b.png

 

If i remove Region or Width value, then it cannot expand with form.

         image.png.9e2e1d62c311d1d94a09d832368d0c52.png

 

Any solution?

 

Thank You.

 

 

 

Link to comment
Share on other sites

i change it to border, but the problem still exists.

my problem is why the title bar will change back to default one when it is collapsed.

             image.png.9ca1acc4afd9a2809ca22cf07e38b54b.png

 

I change the panel by using the below:

CustomCSS:

.ColorTitle .x-panel-header-default
{
   background-image: none;
   background-color: #4682B4;

   font-size: 18px;
}

clientevent > unitEvents:

function beforeInit(sender, config)
{
  config.cls = 'ColorTitle';
}
 

Thank You.

 

Link to comment
Share on other sites

Hi,

        image.png.2ff43ab8e764482de6c01767823c1d47.png

I found that it will show title bar & 'collapsed bar' at the same time in some iphone modal.

if i use "header.setvisible(false)", then there is no 'bar' to 'collapse' after panel is shown.

is there any solution to only show one bar?

 

thank you.

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...