![]() |
CXTPStatusBar - Icons |
Post Reply ![]() |
Author | |
Kenneth ![]() Senior Member ![]() ![]() Joined: 23 May 2004 Location: United States Status: Offline Points: 256 |
![]() ![]() ![]() ![]() ![]() Posted: 30 April 2008 at 12:52pm |
When I select the CCustomOffice2007Theme, the icons I display on the StatusBar is centered in the pane. However when I select the CXTPRibbonTheme, the icons are right justified in the pane. The same is true for bitmaps. See image below:
![]() How do I center the icons in the pane in CXTPRibbonTheme?
Also, in versions prior to 12, I set the icon width by:
m_wndStatusBar.SetPaneWidth(nIndex,XTAuxData().cxSmIcon);
In version 12.0 I have to use:
m_wndStatusBar.SetPaneWidth(nIndex,XTAuxData().cxSmIcon+4);
Why is the extra 4 pixels needed?
|
|
![]() |
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 |