17 Jan 2011 2:04 AM #1
Layout bug on window resize
Please help me. Did You see anything like that (attachment)? On window resize ext layout goes crazy. Combo triggers are doubled and misplaced, buttons and grid are shredered. This effect occured recently after some code refactoring. Befeore that everything was being resized normaly.
I dont even know what parts of code shall i put here to be refered to.
Is it some issue with doctype perhaps?
SOLVED! - i accidentally initiated vieport twice that rendered every element two times. SO if anyone sees this kind of layout eyesore its probably because some components are doubled. (similar output can be achieved by rendering two elements with same id).
Anyways sorry for bothering. And thanks for help.
Last edited by kanister; 17 Jan 2011 at 3:37 AM. Reason: SOLVED
17 Jan 2011 2:10 AM #2
if there are not simple solutions (like as for me or for some other rookies like me) there will be always some gurus (Animal, Condor, Stefenk, Evant and some others) to solve you this But :
1. Try to put some code here. Nobody can guess what cause rhis. You show the result. Must examine the cause (and this is the code)
2. If you made refactoring of works well before, you can simply compare and see what are the changes made... Sure it must be there...
17 Jan 2011 2:22 AM #3
- Join Date
- Mar 2007
- The Netherlands
- Vote Rating
No, this is not DOCTYPE related. It must be a misconfigured layout.
Did you configure all comboboxes with an anchor?
ps. You'll indeed need to post your layout code if you want more help.
By gbulfon in forum Ext 3.x: Help & DiscussionReplies: 0Last Post: 7 Sep 2010, 7:12 AM
By Yazla in forum Ext 3.x: BugsReplies: 2Last Post: 18 Jun 2010, 12:48 PM
By artalat in forum Ext 3.x: Help & DiscussionReplies: 4Last Post: 13 Jul 2009, 9:58 AM
By NicoP in forum Ext 2.x: Help & DiscussionReplies: 5Last Post: 3 Nov 2008, 1:37 AM
By pomata in forum Ext 1.x: Help & DiscussionReplies: 0Last Post: 1 Jun 2007, 2:08 PM