Forum  General Visual ...  Let's Chat Abou...  5.85 Anchor bug
Previous Previous
 
Next Next
New Post 3/14/2008 3:53 PM
  taylorza
136 posts
5th Level Poster


5.85 Anchor bug 
Hi,

There seems to be a bug in 5.85. Any controls placed directly on the main form and are anchored to the right are placed way off the bowser window at runtime, see my explanation for the panel scenario below.

When a panel is placed directly on the main form and the panel Anchor property is set to Gizmox.WebGUI.Forms.AnchorStyles.Top | Gizmox.WebGUI.Forms.AnchorStyles.Left | Gizmox.WebGUI.Forms.AnchorStyles.Right, I see a number of problems.

1. The panel is sized completely off the right hand side of the screen. With IE Developer tool bar I can see that the width of the panel DIV is 1417px.
2. Any controls in the panel that are are anchored to the right do not move all the way to the right as would be expected since the control is anchored to the panels right, the control appears to be positioned roughly where it was in the designer. Interstingly, when the browser is resized the controls does move as if it was anchored.
3. If the panel is on a user control the anchoring of the panel appears to work, however the child controls are still not initially loaded in the correct position.

If this is not clear, I have submitted a sample that demonstrates the problem. Please confirm that you have received the sample.

Thanks in advance

Chris
 
New Post 3/16/2008 8:43 AM
  shlomi.bin
560 posts
1st Level Poster




Re: 5.85 Anchor bug 
Hi,

We allready reproduced this issue and even fixed it for version 6.0.

Shlomi
 
New Post 3/16/2008 3:07 PM
  taylorza
136 posts
5th Level Poster


Re: 5.85 Anchor bug 
Hi Shlomi,

Unfortunately I must report that the problem is not resolved, at least not in the version 6.0 that currently available for download, I did change the PrivateVersion after installing version 6.0.

The problem does present differently.. I have send an example of the problem to the support email address, the example also includes a screenshot of the problem. Essentially, the initial layout of the controls when anchored to the right is not correct. As you can imagine, this is quite a serious issue since it was working previously.

Thanks

Chris
 
New Post 3/17/2008 10:00 AM
  shlomi.bin
560 posts
1st Level Poster




Re: 5.85 Anchor bug 

Hi Chris,

I got your VB .Net sample application and could not view it through the WG designer somehow.
What I could see is that in the InitializeComponent function the Panel1 control is getting a width of 841px and the form which contain it gets a width of 483px.
This causes the panel to be proportionally wider than the form and this is the reason it seems like it overflows the screen.
Can you please try changing the sizes of the panel (through the designer or through code)and see if all the problems you mentioned still occurs.

 
Thanks,

Shlomi

 
New Post 3/17/2008 11:00 AM
  taylorza
136 posts
5th Level Poster


Re: 5.85 Anchor bug 
Hi Shlomi,

OK, my environment
1. Vista
2. VS 2008
3. VWG 6.0

I just created a band new project (Will email this as well). The steps I took are as follows.
1. Create Visual Web GUI Application
2. Resized Form1 to 400, 400
3. Droped a panel on the Form at location 10,10
4. Resized the panel to 376, 100
5. Changed anchoring of the panel to Left, Right -> Notice that the panel size automatically changes to 676, 100 but visually there is no change.

I confirmed that this is working fine in 5.84.2, the problem started with 5.85.

I also noticed the following, if the panel is not anchored to the Top then it sort of floats up and down during runtime as the browser is resized.

Thanks

Chris
 
Previous Previous
 
Next Next
  Forum  General Visual ...  Let's Chat Abou...  5.85 Anchor bug
.NET HTML5 Web, Cloud and Mobile application delivery | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2012 Visual WebGui®       Visual WebGui weblog on ASP.NET Gizmox Blog Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS