Content of RibbonView Don't AutoSize

4 posts, 0 answers
  1. Giovanni Rojas
    Giovanni Rojas avatar
    38 posts
    Member since:
    Jan 2009

    Posted 17 Nov 2011 Link to this post

    Hello:

    I update to Q3 Today and when run project and all icons in tabs show in small size.

    When resize windows the icons only show in small size.

    In Q2 the icons show ok (medium, large and small if configurate).

    Thanks

    Excuse me english
  2. Viktor Tsvetkov
    Admin
    Viktor Tsvetkov avatar
    382 posts

    Posted 21 Nov 2011 Link to this post

    Hi Giovanni Rojas,

    For Q3 2011 we have changed a little bit the behavior of the GroupVariants and actually the meaning of the Priority property, so could you please send us the code for your GroupVariantsCollection, thus we will be able to better assist you?

    All the best,
    Viktor Tsvetkov
    the Telerik team

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

  3. UI for WPF is Visual Studio 2017 Ready
  4. Giovanni Rojas
    Giovanni Rojas avatar
    38 posts
    Member since:
    Jan 2009

    Posted 21 Nov 2011 Link to this post

    NewGroupVariant = New GroupVariant
    NewGroupVariant.Variant = RibbonGroupVariant.Large
    NewGroupVariant.Priority = 0
    NewGroup.Variants.Add(NewGroupVariant)
    NewGroupVariant = New GroupVariant
    NewGroupVariant.Variant = RibbonGroupVariant.Medium
    NewGroupVariant.Priority = 1
    NewGroup.Variants.Add(NewGroupVariant)
  5. Viktor Tsvetkov
    Admin
    Viktor Tsvetkov avatar
    382 posts

    Posted 24 Nov 2011 Link to this post

    Hello Giovanni Rojas,

    There are two approaches in this scenario:
    1) You can set the priority of the Large variant to have the highest value
    2) You can simply remove the adding of the Large variant

    If you have further questions do not hesitate to ask.

    Regards,
    Viktor Tsvetkov
    the Telerik team

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

Back to Top