Forum  Commercial Foru...  Commercial Foru...  [Bug?] TabControl on a HeaderedPanel - Not getting correct height
Previous Previous
 
Next Next
New Post 2/1/2012 3:27 PM
  dmcgrail
271 posts
4th Level Poster


[Bug?] TabControl on a HeaderedPanel - Not getting correct height 
Modified By dmcgrail  on 2/1/2012 7:37:00 PM)

(First, how does one turn off double-spacing in this editor control!??!?)

Anyhow, Look at the following images:

1. i39.tinypic.com/wufq5k.jpg

2. i41.tinypic.com/345ig03.jpg

There is only one difference between the two projects/images.  In the first image, the TabControl/TabPage isn't on a HeaderedPanel.

(The project consists of -- A toolbar (docked top), A statusbar (docked bottom), TabControl/TabPage (docked fill) <-- not on a HeaderedPanel (1st image), on a HeaderedPanel (2nd image))

Now, each Panel (the colored squares) is 100 in Height.  In the first image you can see that I can fix 6 100 Height Panels.  The "tabs" of the tabcontrol must be 23 pixels.  That's why you see 623 for the height (and it also points out the bug I submitted last week - those two numbers shouldn't be the same).

The second image, the one with the Headered Panel shows us that we can't fit 6 100 Height Panels.  But meanwhile, it still shows a Height of 623.  Which isn't right.

HeaderedPanel's are causing an incorrect Height for it's subordinate controls.

Now, this is a stripped down project.  In my real project, the Height is off by something like 100 pixels (because on the Tab is a UserControl with two toolbars (25 height) and *another* TabControl).  Something here is not right.

I will send the two projects to support.

Thanks.

EDIT: [Using 6.4b] and projects sent to support@visualwebgui.com

 
New Post 2/2/2012 2:47 PM
  palli
14299 posts
1st Level Poster




Re: [Bug?] TabControl on a HeaderedPanel - Not getting correct height 

Hi Dan,

We already have an open tracker entry for this one. Please view it here and follow up on our progress.

Please, if you disagree, let me know.

P.S. Please realize that the way you add the HeaderedPanel to your application is not really a HeaderedPanel that you are adding. You add a Panel and then set the CustomStyle to get the presentation (UI) of a HeaderedPanel, but any server-side specific code that may be on the HeaderedPanel control is bypassed. It doesn't change this problem through as it still exists after modifying the code to add a "full" HeaderedPanel control.

Palli

 

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
Previous Previous
 
Next Next
  Forum  Commercial Foru...  Commercial Foru...  [Bug?] TabControl on a HeaderedPanel - Not getting correct height
.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