Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Ribbonbar wrong xaml icon rendered
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Ribbonbar wrong xaml icon rendered

 Post Reply Post Reply
Author
Message
davidu View Drop Down
Newbie
Newbie


Joined: 23 May 2023
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote davidu Quote  Post ReplyReply Direct Link To This Post Topic: Ribbonbar wrong xaml icon rendered
    Posted: 16 October 2023 at 9:04am
Hi everyone,

I have a ribbonbar, using xml icons. For buttons, the dynamic resize works correctly, icons 32 and 16 pixels are swapped when resizing. For a xtpControlSplitButtonPopup, when resizing it doesn't work as expected. The icon rendered at 16 pixels is a cutout of the 32 pixel icon. Using bitmap icons still works correctly. 

I also noticed that if anyway the control is a popup control type but controltype is not used on the button group to set the button as xtpControlSplitButtonPopup, the triangle is still rendered and is placed on top of the icon. The icon rendered is the 16 pixels one but with the triangle on top.

cheers,
David
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.