Unplanned
Last Updated: 03 Jul 2017 06:50 by ADMIN
ADMIN
Dess | Tech Support Engineer, Principal
Created on: 17 Jul 2015 12:02
Category: Editors
Type: Bug Report
1
FIX. RadTextBox - the text is shifted when the Multiline property is set to true
To reproduce:
public Form1()
{
    InitializeComponent();

    this.radTextBox1.Text = "abcd";
    this.radTextBox2.Text = "abcd";
    this.radTextBoxControl1.Text = "abcd";
    this.radTextBoxControl2.Text = "abcd";

    this.radTextBox2.Multiline = true;
    this.radTextBoxControl2.Multiline = true;

    this.textBox1.Text= "abcd";
    this.textBox2.Text= "abcd";
    this.textBox2.Multiline = true;
}

Workaround: set the Multiline property to true in the Form.Load event.

Second workaround: this.radTextBox2.TextBoxElement.TextBoxItem.Margin = new Padding(-2, 0, 0, 0);
Attached Files:
0 comments