Default Margin of every Control in Tlp

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

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


  • You must to post comments

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.



  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.