[solved] Gap between Toolbar Gripper and Control |
Post Reply |
Author | ||
Alex H.
Senior Member Joined: 12 February 2004 Status: Offline Points: 266 |
Post Options
Thanks(0)
Posted: 02 November 2016 at 3:34am |
|
Could you please provide a sourcecode patch to fixt this problem:
I need a small gap betweeen the gripper of a toolbar and the first control (1-2 Pixel would be enough). I will compile ist myself, just tell me where to add the sourcocde change. Same problem with XTP 17.2 and 17.3 Thanks |
||
olebed
Admin Group Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
Post Options
Thanks(0)
|
|
Hello Alex,
You can change this gap in method DrawCommandBarGripper. For office2013 it is method CXTPCommandBarsOfficeXPTheme::DrawCommandBarGripper in file Source\CommandBars\Themes\XTPCommandBarsOfficeXPTheme.cpp. CXTPCommandBarsOfficeXPTheme::DrawCommandBarGripper returns size of gripper, but it isn't calculated, just
These changes also impact on old themes officeXP and Visual Studio 2003. I have added this fix. Thank you for bringing this to our attention. Regards, Oleksandr Lebed |
||
Alex H.
Senior Member Joined: 12 February 2004 Status: Offline Points: 266 |
Post Options
Thanks(0)
|
|
Thank you it works :-)
|
||
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 |