This is a migrated thread and some comments may be shown as answers.

RichTextBoxUI collapse happened

2 Answers 67 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Eugeniy
Top achievements
Rank 2
Eugeniy asked on 01 Dec 2011, 08:08 PM
I drag an RichTextBox ribbon and it is generated fine. But in  run-time it collapses.. Please, look at good.jpg and bad.jpg


Update. It because of some of my own styles. Still not resolved, but in separate applications works well

2 Answers, 1 is accepted

Sort by
0
Eugeniy
Top achievements
Rank 2
answered on 01 Dec 2011, 09:10 PM

this is the solution:

<Style TargetType="Border">
<Style.Setters>
<Setter Value="0" Property="Margin"/>
</Style.Setters>
</Style>
0
Iva Toteva
Telerik team
answered on 02 Dec 2011, 03:41 PM
Hi Eugeniy,

It's good to hear that you have find a solution to the problem you are observing.
Judging from the behavior and the fix, the issue is probably due to a style in your application that gets applied to some of the controls in RadRichTextBoxRibbonUI. We would highly recommend not using explicit styles, as other similar issues may occur.

Kind regards,
Iva Toteva
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
RichTextBox
Asked by
Eugeniy
Top achievements
Rank 2
Answers by
Eugeniy
Top achievements
Rank 2
Iva Toteva
Telerik team
Share this question
or