EasyUI Forum
May 21, 2024, 07:23:11 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: scrollbar at panel  (Read 6574 times)
roberto
Jr. Member
**
Posts: 88


View Profile Email
« on: February 08, 2016, 11:37:20 AM »

hi,
how to know if a scrollbar is visible (or needed) inside a panel? I have a form with variable height and when its content is greater than its height I would like to increase its width to keep some space at right side.
Logged
jarry
Administrator
Hero Member
*****
Posts: 2264


View Profile Email
« Reply #1 on: February 08, 2016, 05:48:31 PM »

You just need to set the 'height' to 'auto' for the panel to make it auto increase/decrease its height according to its content.
Logged
roberto
Jr. Member
**
Posts: 88


View Profile Email
« Reply #2 on: February 09, 2016, 07:29:35 AM »

thanks for you answer but I guess I was not very clear.
1) The panel height is a fixed value.
2) The panel content have a variable height.
3) So, when it is bigger than the panel height is showed a scrollbar but it takes space from the panel width 'hiding' the rightmost panel content causing an undesirable effect.
Sorry my English, I hope you can understand me now.
Logged
jarry
Administrator
Hero Member
*****
Posts: 2264


View Profile Email
« Reply #3 on: February 10, 2016, 03:29:52 AM »

You may need to show an example to demonstrate your issue.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!