EasyUI Forum
September 14, 2025, 01:57:01 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Problem with Layout on Tabs and resizeing the browser window  (Read 8159 times)
Stefan B.
Full Member
***
Posts: 152


Software Architekt


View Profile Email
« on: August 13, 2014, 01:30:44 AM »

I have placed a layout on an easyui tab. That's fine.
But if I resize the Browser window to a smaller window, no scrollbar is shown for the layout on the tab.

What is the problem there?

Code:
<div class="easyui-layout" data-options="fit:true">
    <div data-options="region:'north', border:false" class="content-filter" style="height:400px;">
        <div class="easyui-layout" data-options="fit:true">
            <div data-options="region:'north', split:true, border:false" style="height:40px">infotext</div>
            <div data-options="region:'center', border:false">
<form method="post" id="wavePlanningForm" enctype="application/x-www-form-urlencoded">...</form>           
            </div>
        </div>
    </div>
    <div data-options="region:'center', border:false, collapsible:true, split:false, title:'tabelle ...'">
<table id="dCustomerWaves"></table>
    </div>
</div>



Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: August 13, 2014, 07:33:34 AM »

You have set the 'north' region panel with a fixed height(400px). Please try to set its height with percentage.
Code:
<div data-options="region:'north', border:false" class="content-filter" style="height:30%;max-height:400px;">
...
</div>
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!