Layout issue

3 posts, 1 answers
  1. Hans
    Hans avatar
    36 posts
    Member since:
    Nov 2017

    Posted 18 Jul Link to this post

    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. Answer
    Vladimir Stoyanov
    Admin
    Vladimir Stoyanov avatar
    463 posts

    Posted 23 Jul Link to this post

    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.
  3. Hans
    Hans avatar
    36 posts
    Member since:
    Nov 2017

    Posted 29 Jul in reply to Vladimir Stoyanov Link to this post

    Hi Vladimir,

    thanks for the tip, works just fine !

    Regards,
    Hans

Back to Top