EasyUI Forum
May 05, 2024, 04:18:33 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: 1 [2]
16  General Category / EasyUI for jQuery / Re: Set Drawer height to '100%' explicitly to make fit:true of inner Layout to work on: May 28, 2022, 12:24:03 PM
Thanks Jarry, that works too! Smiley
17  General Category / EasyUI for jQuery / Set Drawer height to '100%' explicitly to make fit:true of inner Layout to work on: May 26, 2022, 01:23:28 AM
Hi,

For those using a Layout inside the Drawer, make sure to set the height property of the Drawer to 100% if you want the Layout to fit the Drawer's dimensions. Without doing that the Layout div's height becomes 1px even when you set its fit property to true.

Code:
<div id="drawer-additional-info" class="easyui-drawer" data-options="width:475,height:'100%'" >
    <div class="easyui-layout" data-options="fit:true">
        <div region="north" data-options="border:false,title:'Comments',collapsible:false" style="height:400px;">
             Some text...
        </div>
        <div region="center" data-options="border:false">
             Some text...
        </div>
    </div>
</div>
18  General Category / EasyUI for jQuery / Drawer 'closable' and 'collapsed' properties seem to do nothing on: May 25, 2022, 12:27:16 AM
Hi,

I am using the Drawer plugin. According to the documentation you can set the 'closable' and 'collapsed' properties to make the closable button visible and (I assume) to expand the drawer when the page is loaded.

However, the drawer remains collapsed when the page is loaded. And when I expand the drawer manually, only the content is shown, but not the closable button. What am I doing wrong here?

Code:
<div id="drawer-additional-info" class="easyui-drawer" data-options="closable:true,width:350,collapsed:false" >
    <p style="text-align:center;margin:50px 0;font-size:16px">Content...</p>
</div>
19  General Category / EasyUI for jQuery / Re: Slider step size is ignored for negative values on: April 11, 2022, 10:21:33 PM
Thanks Jarry!

Problem solved.

Cheers
20  General Category / EasyUI for jQuery / Re: Slider step size is ignored for negative values on: April 11, 2022, 03:21:30 AM
Hi Jarry,

Thanks for your reply.
Indeed, your example works fine because the default step size is 1.
However, if you change the step size to e.g. 5, you will see that for negative values the step size/interval is not 5, but 1 while changing the position of the slider.
Code:
        <input class="easyui-slider" style="width:300px" data-options="
                                showTip:true,
                                min: -100,
                                max: 100,
                                step: 5,
                                rule: [-100,'|',-75,'|',-50,'|',-25,'|',0,'|',25,'|',50,'|',75,'|',100]
                        ">
21  General Category / EasyUI for jQuery / Slider step size is ignored for negative values on: April 10, 2022, 06:53:55 AM
Hi,

I have a slider with a range of -60 to 160 and a step size 10.
For posivite values the step size works fine, however for negative values the configured step size seems to be ignored and becomes 1 or something.



Could this be a bug?
Pages: 1 [2]
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!