PopupButton in Quick Access ToolBar: Setting VariantSize with Style does not work

Ribbon for WPF Forum

Posted 3 years ago by Thomas
Version: 14.2.0610
Environment: Windows 8 (64-bit)
Avatar

Hi,

I have a PopupButton in my ribbon's quick access toolbar and wan't to set the VariantSize of the button via a xaml style. It does not work. Setting the VariantSize property directly works fine.

Regards,

Tom

Comments (4)

Posted 3 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Tom,

The variant size gets updated by us as the control moves around so setting via a Style won't work.  I'm not sure I'd recommend altering it manually here, especially since in upcoming Metro theme updates for 2016.1, we are making the QAT buttons look like Office 2016 with a more touch-friendly size.  But it will only show in the small variant size.


Actipro Software Support

Posted 3 years ago by Thomas
Avatar

Actually I want the button to display the label. Is setting the variant size to medium the "correct" approach to achieve this inside the quick access toolbar?

Posted 3 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Yes, or you could remove the image.  The small variant size should switch to showing the label only if there is no image.


Actipro Software Support

Posted 3 years ago by Thomas
Avatar

Thanks for your help!

The latest build of this product (v2018.1 build 0675) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.