Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Container Padding Ignored
Message
De
27/08/2008 14:56:20
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Titre:
Container Padding Ignored
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Divers
Thread ID:
01342302
Message ID:
01342302
Vues:
63
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform