Unplanned
Last Updated: 30 Mar 2016 12:25 by ADMIN
ADMIN
Hristo
Created on: 03 Nov 2015 08:28
Category: RichTextEditor
Type: Bug Report
1
FIX. RichTextEditorRibbonBar - incorrect sizes in Clipboard and Editing & Proofing groups when DPI is set to 125%
Workaround:
public partial class Form1 : Form
{
    public Form1()
    {
        InitializeComponent();

        this.AdjustPaddings(0);
        this.AdjustPaddings(3);
    }

    private void AdjustPaddings(int index)
    {
        RibbonTab tab = ((RibbonTab)this.richTextEditorRibbonBar1.CommandTabs[0]);
        RadRibbonBarGroup group = (RadRibbonBarGroup)tab.Items[index];
        foreach (RadElement el in group.Items)
        {
            el.Padding = new Padding(3, 1, 3, 1);
        }
    }
}
Attached Files:
0 comments