[SOLVED]status bar cant print text with xaml icon |
Post Reply |
Author | |
davidu
Newbie Joined: 23 May 2023 Status: Offline Points: 5 |
Post Options
Thanks(0)
Posted: 20 November 2023 at 12:18pm |
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())); |
|
agontarenko
Admin Group Joined: 25 March 2016 Status: Offline Points: 294 |
Post Options
Thanks(0)
|
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
|
|
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 |