-
25 Sep 2012 11:32 AM #1
Window Issues
Window Issues
3.0.1 GXT
Issue 1: When the window changes it's size due to a change in it's content height, the drop shadow doesn't resize.
Issue 2: Even though i setResizable(false) the resize elements are still applied to the window, and prevent me from adding my own drop shadow to the window:

These handles take up space, and still have the re-sizing hover states that are unnecessary when the window is not re-sizable.
Please advise.
-
25 Sep 2012 9:30 PM #2
1) When adding content and changes the window size without going over setSize/setPixelSize, you need to call sync(true) on the window instance.
2) I will move this thread to the bugs forum. Thanks for bringing this up. This sounds like an issue.
-
26 Sep 2012 12:49 PM #3
sync(true) doesn't resolve the issue.
-
27 Sep 2012 9:46 PM #4
-
12 Mar 2013 7:25 AM #5
Shadow on resize
Shadow on resize
In this code shadow don't move after resize.
Is window suitable for DockLayoutPanel ?Code:public class GxtWindowTest implements EntryPoint { @Override public void onModuleLoad() { Window w = new Window(); w.setHeadingText("My Window"); w.setPixelSize(600, 400); w.setMinimizable(true); w.setMaximizable(true); DockLayoutPanel p = new DockLayoutPanel(Unit.EM); p.addNorth(new HTML("header"), 2); p.addSouth(new HTML("footer"), 2); p.addWest(new HTML("navigation"), 10); // p.add(new HTML("navigation")); p.add(w); w.show(); RootPanel.get().add(p); } }
-
12 Mar 2013 7:37 AM #6Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,714
- Vote Rating
- 438
@killout please do not post duplicate posts. Read the message when you post, it says your posts were marked for moderation therefore your posts were not lost, just needed approved.
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
21 Mar 2013 4:53 PM #7
Killout - did you try sven's fix? Also, is there a reason you are adding the window *inside* the docklayoutpanel? That p.add(w) line shouldn't be there and doesn't make any sense, since you call w.show() right afterward.
Audra re #2 have you tested with later versions of GXT? As far as I can tell, this issue is fixed in 3.0.3 and 3.0.4:
http://staging.sencha.com:8080/examp...ace:messagebox
http://staging.sencha.com:8080/examp...ace:messagebox
3.0.1 link for comparison:
http://www.sencha.com/examples/#ExamplePlace:messagebox
-
21 Mar 2013 5:07 PM #8
Hi Colin,
Our application is stuck on 3.0.1 pending a layout issue that Sven is working on. I'll recheck it once we are able to use the latest build.
Thanks,
Audra
-
17 Apr 2013 2:55 PM #9
resizable stuff is gone in 3.0.4. thanks!
shadow still breaks when the window resizes, I was able to put my own shadow the windows, but it took some effort since there is random padding on top, topRight and topLeft, which doesn't play well when the background for my header is in .header and a shadow is added to the parent window div.
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote