EasyUI Forum
April 20, 2024, 06:50:51 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: 1 ... 13 14 [15]
211  General Category / General Discussion / Re: center a panel in a layout region on: August 16, 2013, 07:35:19 AM
so style:{} doens't take css properties, it takes the javascript equivalent?
212  General Category / General Discussion / Re: center a panel in a layout region on: August 16, 2013, 05:50:35 AM
there's the trick!  thanks.

so for something like margin-top:0px I'd do style:{'margin-top':0} ? 
213  General Category / General Discussion / center a panel in a layout region on: August 15, 2013, 02:03:05 PM
I'm trying to get a panel centered inside a layout.  this was first try:
Code:
<div data-options="region:'center'">
    <div class="easyui-panel" title="Login" style="width:400px;margin:0 auto">some content</div>
</div>

using Chrome's inspector I see this gets parsed out to:
Code:
<div class="panel" style="display: block; width: 400px;">
    <div class="panel-header" style="width: 388px;">
        <div class="panel-title">Login</div>
        <div class="panel-tool"></div>
    </div>
    <div class="easyui-panel panel-body" title="" style="width: 398px; margin: 0px auto; height: auto;">
some content</div>
</div>

putting the style on the panel-body and not copying it to the panel where it will actually do something. 

I also tried these:
Code:
data-options="style:{margin: 0 auto}"
data-options="style:{margin: 0px auto}"
data-options="style:{margin-top: 0;margin-right: auto}"
these all generate parsing errors on the console and leave me with only the original code rendered.

this one does not error, and puts the margin in the panel where it should be
Code:
data-options="style:{margin: 0}"
but since it's missing the margin-right, it doesn't do what I want.

before I attempt fixing the style parser, should I be doing this a different way?
214  General Category / General Discussion / Re: JavaScript callback on: August 15, 2013, 08:34:50 AM
that depends on what's happening inside those functions.  if they are async calls of some sort (ajax, timers) then you need to handle that somehow so that the function does not return until its work is complete.
215  General Category / General Discussion / Re: Malware Warning from Chrome on: August 15, 2013, 08:32:05 AM
seems to be better now?  I don't get a warning.
216  General Category / Bug Report / feature request: combobox defaults on: August 15, 2013, 08:02:56 AM
I'd like to request that the autocomplete feature default to case insensitive.  I feel it makes more sense in the way people expect these things to work.
217  General Category / Bug Report / Re: tabtools.html example issue on: August 15, 2013, 08:00:38 AM
looks like this has been corrected in 1.3.3
218  General Category / Bug Report / Re: Add tabs loading Iframe in IE6 error on: May 08, 2013, 01:17:47 PM
that doens't sound like a css issue, but a dynamic object model issue.  I'm not really sure how to debug that in IE6 directly.  these kinds of issues are why I've completely abandoned ie6.

if you're actually using ie8 but embded in a vb6 app so that it emulates ie6 by default, you can change that and relive a lot of headaches.  http://stackoverflow.com/questions/6717055/how-do-i-turn-off-compatibility-view-on-the-ie-webbrowsercontrol-in-a-winforms-a
219  General Category / Bug Report / tabtools.html example issue on: May 06, 2013, 05:59:14 AM
when clicking the remove icon, it removes the icon instead of the active tab.  only tried in chrome.

renaming the function to tabremove() makes it work properly.  Is remove() an internal method on one of the wrapping classes?  maybe it should be _remove() instead?
Pages: 1 ... 13 14 [15]
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!