View Full Version : Hover BorderLayout expands collapsed region's popouts on mouse actions
21 Aug 2011, 10:00 PM
Here is a HoverBorderLayout (http://oopsnullpointer.wordpress.com/2011/08/22/gxt-hover-borderlayout/) I made. It is compatible with GXT 2.2.4. It expands the popup of a collapsed panel on mouse over and collapses it on mouse out. You can set the width of the collapsed section (standard is 24, min is 2).
Here is the code:
Let me know if you have questions or improvements.
16 Nov 2011, 12:36 AM
Hi Carl ,
First of all, thank you for this component, it's what I'm looking.
Here is an experience sharing,
I found if BorderLayoutData is set with a ratio size (size is small than 0),
the HoverBorderLayout won't work normally caused by the popup.el always get 0 as it's width, then the checking in mouse over is wrong.
I just replaced ration size with a fixed width, then it works perfectly.
16 Nov 2011, 2:35 PM
I hadn't tried with percentage widths before. Next time I'm working on it I'll take a look.
I'm trying to get the hover to work properly on IE8 but there appears to be a border around the page that means the mouse over is very hard to trigger. IE6 and IE9 are fine (no browser border around the page)
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.