Completed
Last Updated: 22 Apr 2014 15:41 by ADMIN
ADMIN
Georgi I. Georgiev
Created on: 06 Aug 2013 10:06
Category: Editors
Type: Bug Report
5
FIX. RadAutoCompleteBox - text goes a little lower with some themes after autocomplete
To reproduce:
Add RadAutoCompleteBox
Add AutoCompleteItems
Change the theme to Office2010BlueTheme, Office2010BlackTheme, Office2007SilverTheme or Office2010SilverTheme.
Write something - looks good
Autocomplete a word and now write something - text is a few pixels lower.

Workaround:

void radAutoCompleteBox2_TextBlockFormatting(object sender, TextBlockFormattingEventArgs e)
{
    TokenizedTextBlockElement token = e.TextBlock as TokenizedTextBlockElement;
    if (token != null)
    {
        token.Margin = new Padding(0, 1, 1, 1);             
    }
}
0 comments