Completed
Last Updated: 20 Nov 2023 07:43 by ADMIN
Release R3 2023 SP1 (2023.3.1114)
n/a
Created on: 03 Nov 2023 14:19
Category: Editors
Type: Bug Report
0
RadEditors: The button's width in the RadCalculatorDropDown and RadSpinEditor is less than the buttons in other editors in the Office2010 themes

This behavior can be observed in the Office2010 theme. In the following image, the button's width in RadCalculatorDropDown and RadSpinEditor is less by 1 px compared to the buttons in the other editor controls.

1 comment
ADMIN
Dinko | Tech Support Engineer
Posted on: 03 Nov 2023 14:24

Hello Li Yang,

Thank you for reporting this.

As a workaround, you can manually adjust the width of the controls by setting the MinSize property.

public Form1()
{
    InitializeComponent();
    this.radCalculatorDropDown1.CalculatorElement.ArrowButton.MinSize = new System.Drawing.Size(17, 20);
    this.radSpinEditor1.SpinElement.ButtonUp.MinSize = new System.Drawing.Size(17, 0);
    this.radSpinEditor1.SpinElement.ButtonDown.MinSize = new System.Drawing.Size(17, 0);
}

Regards,
Dinko | Tech Support Engineer
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.