Table Margins

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

Hi,

Only marginTop and marginLeft set in theme are recognized at design-time and run-time. Please see image attached.

Thanks.

Attachment
  • You must to post comments
0
0

The margins are the space relative to other widgets that are managed by one of the layout engines on the client. In the screenshot you can see the top-left margin because the table widget was shifted by the top-left margin, but you cannot see the bottom-right because the inner size of the widget is not altered by the margins, it would show only if there was another inner widget participating in the layout.

For example, if you set the margin of the inner label component in a treenode or a button you can see the inner content rearrange depending on the margin.

To create an inner space use the padding. However, with the table the padding may be used (overridden) by the class if there are controls docked inside the grid.

Basically the margin in theme is not the margin of the control. At the control level, the margin property is managed by the layout engine on the server. The inner components of the widgets are managed by the client layout engines.

HTH

Best,

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 1, maximum file size 3.9MB.
Supported file formats: zip pdf gif jpg bmp png cs vb theme json