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

Layout issue

2 Answers 81 Views
MultiColumnComboBox
This is a migrated thread and some comments may be shown as answers.
Hans
Top achievements
Rank 1
Veteran
Hans asked on 18 Jul 2019, 03:17 PM

Hi,

Please have a look at the attachments.

When I launch the view, the MultiColumnComboBox is displayed as in issue 1.  When I increase the width of the view, I is displayed as in issue 2.

I do not understand why I have issue 1 as there is clearly enough space to display the content of the selectionbox at startup.

Any ideas ?

Regards,
Hans

2 Answers, 1 is accepted

Sort by
0
Accepted
Vladimir Stoyanov
Telerik team
answered on 23 Jul 2019, 08:53 AM
Hello Hans,

Thank you for the provided pictures.

The observed behavior is actually the expected one. The reason for it is that the RadMultiColumnComboBox contains a RadWatermarkTextBox inside it, as well as the box of the selected item. In the first picture the textbox cannot fit next to the selected item on the right and that is why it is placed below it. On the 2nd picture, when the space is increased, there is enough space for the control on the right. 

That said, in order to reduce the MinWidth of the RadWatermarkTextBox, you can set the EditorMinWidth property to a smaller value.
<telerik:RadMultiColumnComboBox EditorMinWidth="0" />

Please, give this approach a try and let me know, if it is suitable for your scenario.

I am looking forward to your reply. 

Regards,
Vladimir Stoyanov
Progress TelerikWant to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
0
Hans
Top achievements
Rank 1
Veteran
answered on 29 Jul 2019, 08:48 AM

Hi Vladimir,

thanks for the tip, works just fine !

Regards,
Hans

Tags
MultiColumnComboBox
Asked by
Hans
Top achievements
Rank 1
Veteran
Answers by
Vladimir Stoyanov
Telerik team
Hans
Top achievements
Rank 1
Veteran
Share this question
or