EasyUI Forum
September 18, 2025, 06:59:15 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: East, center & west Panel with fit on east panel  (Read 6476 times)
devnull
Sr. Member
****
Posts: 431


View Profile
« on: January 22, 2016, 06:16:16 PM »

I have tried all the combinations I can think of but I am unable to get the east panel to fit the available width, with the west and center panels having fixed widths ??

Also, I do not want to nest another layout inside the center panel but want to use just one layout with 3 columns.

http://jsfiddle.net/54v8nacp/17/

What am I doing wrong ??

Code:
  <div region="east" style="background:gray" fit="true"></div>
  <div region="east" style="width:auto;background:gray"></div>
  <div region="east" style="width:100%;background:gray"></div>


« Last Edit: January 22, 2016, 06:29:35 PM by devnull » Logged

-- Licensed User --
jarry
Administrator
Hero Member
*****
Posts: 2298


View Profile Email
« Reply #1 on: January 22, 2016, 07:36:52 PM »

Please try this:
http://jsfiddle.net/54v8nacp/18/
Logged
devnull
Sr. Member
****
Posts: 431


View Profile
« Reply #2 on: January 23, 2016, 12:38:05 AM »

Thanks Jarry, but I was trying to achieve this using the standard code without attaching any additional events.

I am guessing from your reply that it cannot be done without adding custom code.

It would be nice if it could automatically calculate any width which is not specified, so that if you have west, center and east, and you only specify 2 widths, the third would be calculated automatically :-)



Logged

-- Licensed User --
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!