[SOLVED]status bar cant print text with xaml icon |
Post Reply |
Author | |
agontarenko
Admin Group Joined: 25 March 2016 Status: Offline Points: 260 |
Post Options
Thanks(0)
Posted: 09 January 2024 at 4:27am |
Hello, I have checked this code and any problems has not found. If vector icon is used then rcItem size is used. Regards, Artem Gontarenko
|
|
davidu
Newbie Joined: 23 May 2023 Status: Offline Points: 5 |
Post Options
Thanks(0)
|
Hi,
THere is a bug for CXTPStatusBarPaintManager::DrawStatusBarPaneEntry The rect to print the text of the pane is calculated wrong when the pane icon is xaml. probably line 244 should be modified where I marked here. CSize szIcon = (pIcon->IsVectorIcon() -->issue is here. should be size of icon ? rcItem.Size() : CXTPPaintManager::AdjustDpiIconSize( pIcon, pIcon->GetExtent(), XTP_SAFE_GET2(pPane, GetStatusBar(), GetCommandBars(), NULL), rcItem.Size())); |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |