This is a migrated thread and some comments may be shown as answers.

Textbox resizing

1 Answer 68 Views
DataForm
This is a migrated thread and some comments may be shown as answers.
Maurício
Top achievements
Rank 1
Maurício asked on 18 Mar 2014, 04:17 PM
Hello

I have a simple question:

How can I keep the textbox close to the label after resizing the dataform?

Check the attached image where Im showing 3 situations:

1. The label and the textbox before resizing the form.
2. I resize the form, and the textbox is resized but also moved away from the label.
3. The way I wait my textbox to look like, despite the resized form, it is still in the same position.

I have tried many things, but none solved my problem.

1 Answer, 1 is accepted

Sort by
0
Maurício
Top achievements
Rank 1
answered on 21 Mar 2014, 10:52 AM
Well, I found out. It was really simple.

All you have to do is to extract the style of the DataFormDataField and set a MinWidth and a MaxWidth for the first column definition of the Grid.


Tags
DataForm
Asked by
Maurício
Top achievements
Rank 1
Answers by
Maurício
Top achievements
Rank 1
Share this question
or