Completed
Last Updated: 05 Jul 2016 09:41 by ADMIN
ADMIN
Dimitar
Created on: 11 Apr 2016 10:30
Category: UI Framework
Type: Bug Report
1
FIX. GridLayout - the padding is not taken under consideration when the rows size is measured.
To reproduce: 
 - Run the attached project and show the popup in the "mc" column. The custom editor contains 3 textboxes and despite that the SizingType is set to Auto the textboxes are having smaller than their desired height.

Workaround:
- Set the textbox Margin instead of setting the CellPaddingProperty.
2 comments
ADMIN
Dimitar
Posted on: 26 Apr 2016 11:31
Yes, this works as well. What I have meant is to set the margin of the text box element:
var num1 = new RadTextBoxControlElement();
num1.Margin = new Padding(3);


Holger
Posted on: 19 Apr 2016 07:19
Works fine.

To be exact, one should use MarginProperty, rather than CellPaddingProperty (not margin)

SetValue(GridLayout.MarginProperty, new Padding(3))