| Page 1 of 1 | [ 4 posts ] |
|
Hello, is there a way to change Overlay 'resize border'?
The default border takes too much space. Can it be made just couple points wide on each size with 2x2 rectangles in every corner as a resize hint. Code: var overlay = new Y.Overlay(...); overlay.plug([Y.Plugin.Resize, Y.Plugin.Drag]); Thanks! |
Juan Ignacio DopazoYUI Contributor
|
What do you mean by resize border? Resize usually just adds the triangular handles in the corners.
![]() |
|
Yes, there are handlers in the corners and also border bars. But they are way too big for the small overlays I need to create: the border bars are 7px wide and corner ones are 15x15px. I managed to adjust it via CSS, but was curious if there is a way to have more "canned" border styles. It took me couple hours to modify the default CSS...
|
|
This examples shows how to use custom resize-handles:
http://yuilibrary.com/yui/docs/resize/image-resize.html |
| Page 1 of 1 | [ 4 posts ] |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group