-
26 Apr 2012 11:35 PM #1
BorderLayoutData .setFloatable(false) doesn't work.
BorderLayoutData .setFloatable(false) doesn't work.
Hello!
I'm using RC2.
I have a BorderLayout with 3 Regions:- North
- Center
- East
Now I opened my application in iPads Safari for testing purposes: When touch the collapsed regions-bar it floats over my application BUT doesn't "unfloat" after touching another part of my application. --> So on iPad this app wouldn't be usable.
OK, now I wanted to have a workaround in setting floatable to false that the application wouldn't hang on iPads Safari. So I did:
Unfortunately ".setFloatable(false)" doesn't work for me. The Region floats still over the rest of my application when the regions-bar is clicked.Code:eastData = new BorderLayoutData(200); eastData.setSplit(false); eastData.setCollapsible(true); eastData.setFloatable(false);
Doesn't "setFloatable() have to behave like I supposed?
Kind regards
"Webrat"Last edited by Webrat; 26 Apr 2012 at 11:38 PM. Reason: added the information that I used RC2
-
26 Apr 2012 11:53 PM #2
Another issue: .setCollapseMine(true) re-enables .setSplit(false)
Another issue: .setCollapseMine(true) re-enables .setSplit(false)
Hi again!
Also there is a problem with .setCollapsibleMini(true) in combination with .setSplit(false).
.setCollapsibleMini(true) undoes .setSplit(false).
I used .setSplit(false) to disable the possibility to resize the region with the mouse by using the splitbar between the regions.Code:eastData.setSplit(false); eastData.setCollapseMini(true);
The use of .setCollapsibleMini(true) shows the splitbar again and makes the region resizable by using the splitbar.
Regards
"Webrat"
-
10 May 2012 11:37 PM #3
Any plans on fixing this issue? I have confirmed that in GXT 3.0.0 this issue is still valid, CollapsePanel method protected void onBarClick(Event event) {.... does not respect borderlayoutdata.setFloatable(false) at all. My workaround is to extend CollapsePanel (via deferred binding) and override onBarClick method.
Kind regards
Olli
-
14 May 2012 12:29 PM #4
Thanks for reconfirming the bug. I've examined the code and have noticed that the floatable property is never checked. I've now filed a ticket against the team and will update here with any changes.
-
28 Aug 2012 11:38 AM #5
Also breaks Andriod
Also breaks Andriod
This also freezes Chrome and other browsers on Andriod 4.0.3 so seems a common problem on touch devices.
Last edited by SiBurgess; 31 Aug 2012 at 2:10 AM. Reason: Updated with findings from Andriod
-
31 Aug 2012 2:17 AM #6
And freezes the page on Android 2.x browsers.
-
20 Nov 2012 9:19 AM #7
Success! Looks like we've fixed this one. According to our records the fix was applied for
EXTGWT-2105
in
3.0.3.


Reply With Quote