![]() |
[solved] Ribbon xtpControlPopup SetWidth() problem |
Post Reply ![]() |
Author | ||
renninha ![]() Groupie ![]() Joined: 10 August 2007 Location: Sweden Status: Offline Points: 17 |
![]() ![]() ![]() ![]() ![]() Posted: 22 February 2018 at 9:24am |
|
Hi,
Just upgraded to 18.3 from 18.2 and now the pButton->SetWidth() causes the button's caption to disappear, only the icon remains (xtpButtonIconAndCaption). Worked fine in 18.2 and earlier versions. Is it a bug or show I now use a different parameter to do this? Thanks.
|
||
![]() |
||
olebed ![]() Admin Group ![]() Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
![]() ![]() ![]() ![]() ![]() |
|
Hello HÃ¥kan Renning, Regards,Thanks a lot for bringing this to our attention. I'm glad to inform you that the issue has been addressed and fixed. Problem was due to recent changes for drawing icons with custom size on CommandBars.
Oleksandr Lebed |
||
![]() |
||
olebed ![]() Admin Group ![]() Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
![]() ![]() ![]() ![]() ![]() |
|
Hello,
I've fixed also calculating and drawing triangles on popup and splitPopup controls in cases with empty labels. I've added this changes to previous code snippet. Also I've fixed precalculation size of Edit and ComboBox controls of CommandBar/Ribbon
Also for using DPIScalingOption in ComboBox control we should set correct pointer to CommandBars on ComboBox creation (see implementation of CXTPPaintManager::IsDPIIconsScallingEnabled)
Regards, Oleksandr Lebed |
||
![]() |
||
Marco1 ![]() Senior Member ![]() Joined: 16 January 2004 Location: Germany Status: Offline Points: 251 |
![]() ![]() ![]() ![]() ![]() |
|
Oleg, is it possible to release a 18.3.1 (for this) soon?
Would really appreciate that. |
||
![]() |
||
olebed ![]() Admin Group ![]() Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
![]() ![]() ![]() ![]() ![]() |
|
Hello Marco,
You confused me with Oleg. As I know he doesn't work for Codejock from 2012 or 2013 year. About next release - it is timeless question for which I don't have answer. So I post there small fixes. This also gives possibility to quick confirmation of solution before release. However this isn't useful for ActiveX customers. But we can share recent OCXes with support website. Regards, Oleksandr Lebed |
||
![]() |
||
olebed ![]() Admin Group ![]() Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
![]() ![]() ![]() ![]() ![]() |
|
Little addition to drawing CommandBar buttons with custom size and enabled property TextBelowIcons
|
||
![]() |
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 |