Customize QuickAccessToolBar height

Ribbon for WPF Forum

Posted 8 years ago by SebUbi
Version: 16.1.0630
Avatar

Hi,

I added a combobox in my QAT, and for some reason, I gave it a scale transform of 1.5 in both size. How can I tell the QAT to follow and increase its height ?.

in XAML file, I tried a style on ribbon:QuickAccessToolbar setting a height but it seems to be private.

Any idea ?

 

Thx

Seb

Comments (4)

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

Hi Seb,

I'm sorry but with controls in the QAT, you must stick with the default heights.  It requires a certain height to be able to measure correctly and align itself with the containing RibbonWindow.


Actipro Software Support

Posted 8 years ago by SebUbi
Avatar

Hi,

Ok thx for answer. So what if I edit the ribbon template and I change Canvas (that includes PART_QATAbove and enforces size) by a StackPanel ?

Then I ll apply entire style to my ribbon (overriding all the basic style with this only difference)

Should it work ?

Thx

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

Hello, I'm not sure if that will work since I believe there is some internal code-based layout logic that also is looking for the specific size.  You could give it a try though.


Actipro Software Support

Posted 8 years ago by SebUbi
Avatar

Ok fine thx.

Seb

The latest build of this product (v24.1.2) was released 3 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.