r1523 - in trunk: themes/base themes/default ui

r1523 - in trunk: themes/base themes/default ui


Author: joern.zaefferer
Date: Tue Jan 6 01:07:15 2009
New Revision: 1523
Modified:
trunk/themes/base/ui.resizable.css
trunk/themes/default/ui.resizable.css
trunk/ui/ui.resizable.js
Log:
Fix for #3767
Modified: trunk/themes/base/ui.resizable.css
==============================================================================
--- trunk/themes/base/ui.resizable.css    (original)
+++ trunk/themes/base/ui.resizable.css    Tue Jan 6 01:07:15 2009
@@ -7,7 +7,7 @@
.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom:
-5px; left: 0px; }
.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0px;
height: 100%; }
.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0px;
height: 100%; }
-.ui-resizable-se { cursor: se-resize; width: 7px; height: 7px; right:
-5px; bottom: -5px; }
+.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right:
1px; bottom: 1px; }
.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px;
bottom: -5px; }
.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px;
top: -5px; }
.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right:
-5px; top: -5px;}
Modified: trunk/themes/default/ui.resizable.css
==============================================================================
--- trunk/themes/default/ui.resizable.css    (original)
+++ trunk/themes/default/ui.resizable.css    Tue Jan 6 01:07:15 2009
@@ -7,7 +7,7 @@
.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom:
-5px; left: 0px; }
.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0px;
height: 100%; }
.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0px;
height: 100%; }
-.ui-resizable-se { cursor: se-resize; width: 7px; height: 7px; right:
-5px; bottom: -5px; }
+.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right:
1px; bottom: 1px; }
.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px;
bottom: -5px; }
.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px;
top: -5px; }
.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right:
-5px; top: -5px;}
Modified: trunk/ui/ui.resizable.js
==============================================================================
--- trunk/ui/ui.resizable.js    (original)
+++ trunk/ui/ui.resizable.js    Tue Jan 6 01:07:15 2009
@@ -135,6 +135,11 @@
                var defCss = (loadDefault ? insertionsDefault[handle] : ''),
                    axis = $(['<div class="ui-resizable-handle ', hname, '" style="',
defCss, insertionsDefault.handle, '"></div>'].join('')).css( applyZIndex );
+
+                if ('se' == handle) {
+                    axis.addClass('ui-icon ui-icon-gripsmall-diagonal-se');
+                };
+
                o.handles[handle] = '.ui-resizable-'+handle;
                this.element.append(