Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Container Padding Ignored
Message
From
27/08/2008 14:56:20
 
 
To
All
General information
Forum:
ASP.NET
Category:
Forms
Title:
Container Padding Ignored
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Miscellaneous
Thread ID:
01342302
Message ID:
01342302
Views:
62
Has anyone seen conditions under which the Padding property of a container is ignored?

I have a scenario in which I Programmatically create a TableLayoutPanel and programmatically populate it with controls. A GroupBox is programmatically created and the TableLayoutPanel programmatically added to it. The GroupBox is then programmatically added to an existing Panel control. I can programmatically set the Padding on the GroupBox control and set the Padding on the existing Panel control in the IDE. However, the controls that are added to these container controls are still butted up against the absoulte borders of the containers, which seems to indicate that the Padding property is being ignored for the containers.

Has anyone seen this or am I missing something here?

Thanks,
Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Next
Reply
Map
View

Click here to load this message in the networking platform