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

Control's width

1 Answer 112 Views
DataForm
This is a migrated thread and some comments may be shown as answers.
Anthony
Top achievements
Rank 1
Anthony asked on 28 Dec 2015, 07:01 AM

I use auto generate property and find  it to an object with a string property....

(in edit mode) if i type a super long text into the textbox, the width of the textbox would keep increasing so the whole text is always visible

How can i change that behavior to have width of the textbox fixed?

 

Please see attached

1 Answer, 1 is accepted

Sort by
0
Dilyan Traykov
Telerik team
answered on 30 Dec 2015, 11:27 AM
Hello Anthony,

You will have to either give the TextBox a fixed Width or set its MaxWidth to an appropriate value.

I've attached a sample project to show you how this can be done. Please let me know if it helps.

Regards,
Dilyan Traykov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
DataForm
Asked by
Anthony
Top achievements
Rank 1
Answers by
Dilyan Traykov
Telerik team
Share this question
or