![Avatar](https://secure.gravatar.com/avatar/2ba44747ca85aa8f0289637524f28a27.jpg?s=64&d=identicon&r=g)
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
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
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.
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?
Yes, or you could remove the image. The small variant size should switch to showing the label only if there is no image.
Thanks for your help!
Please log in to a validated account to post comments.