Unplanned
Last Updated: 29 Mar 2016 11:07 by ADMIN
ADMIN
Dess | Tech Support Engineer, Principal
Created on: 09 Sep 2015 08:42
Category:
Type: Bug Report
0
FIX. RadDropDownList - text is cut off by the control bounds in RadDropDownStyle.DropDown
Please refer to the attached screenshot.

To reproduce:

public RadForm1()
{
    InitializeComponent();
    
    Font f = new Font("Microsoft Sans Serif", 9.5f);
    this.radDropDownList1.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
    this.radDropDownList1.Font = f;

    this.radDropDownList2.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDown;
    this.radDropDownList2.Font = f;
}

Workaround:  If the text is not completely visible in RadDropDownList for a specific font you can increase the minimum height of the RadDropDownList and the DropDownListElement.TextBox.TextBoxItem.TextBoxControl.

public RadForm1()
{
    InitializeComponent();
    this.radDropDownList1.MinimumSize = new Size(0, 25);
    this.radDropDownList1.DropDownListElement.TextBox.TextBoxItem.TextBoxControl.MinimumSize = new Size(0, 25);
}
Attached Files:
0 comments