Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15667

Containers Not Growing in AutoSize

$
0
0
I have a GroupBox that has a TableLayoutPanel docked to fill in it. In the TableLayoutPanel I have several panels docked to fill that contain a Label and one other control.

The GroupBox, TableLayoutPanel, and Panels are all set to AutoSize where the AutoSizeMode is GrowOnly.

I would expect that everything would grow to fit the size of all the panels combined, but instead what is happening is that it is only growing to the size of one "row" of panels. See image:
Name:  Capture.jpg
Views: 25
Size:  13.4 KB

There are three other panels below those three that are not being shown.

Edit - It is worth noting that if I change the FlowLayoutPanel's FlowDirection to TopDown, that it does grow to fit the size of all the Panels. I don't want it to be TopDown though, I want to to be LeftToRight.
Attached Images
 

Viewing all articles
Browse latest Browse all 15667

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>