Default Margin of every Control in Tlp

Welcome to Wisej Support.
Questions, suggestions and plain old bugs - are all welcome here!
0
0

Is it possible to set the Default MarginRight-Property of every Control which is a ChildControl of a TableLayoutPanel ?

Have tried to set the Default MarginRight via Theme-Designer of each Control we need . Have added the Theme an changed Theme in web.config. Margin of each Control is still [3, 3, 3, 3]. All other changes I made are applied.

Best Regards

Corvin

  • You must to post comments
0
0

The margin on the control is not the same as the margin in the theme. The margin in the theme is used by the widgets to manage the layout inside the widget. The layout of the controls in panel is managed by the server and is not a themeable property.

For example, if you set the margin in a theme for the textfield inside a combobox, the margin is applied to the widget since the widget as a whole is managed by the javascript library. While the Margin property of the controls is managed by the Default layout engine, or the Flow layout engine, or the Table layout engine.

I have to see if we can read the property applied to the top level appearance and use it in the control as the default value. Will log as an enhancement.

Bes,

Luca

  • You must to post comments
Showing 1 result
Your Answer
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Attachment
File Name Size
There are currently no files uploaded.
Maximum number of files 5, maximum file size 3.9MB.
Supported file formats: zip pdf gif jpg bmp png cs vb theme json