![]() |
ribbon groups height |
Post Reply
|
| Author | |
feffe
Groupie
Joined: 04 September 2009 Status: Offline Points: 56 |
Post Options
Thanks(0)
Quote Reply
Topic: ribbon groups heightPosted: 03 November 2009 at 4:10am |
|
Hi
I need to decrease the height of a ribbon group: it is formed by
a tab with two buttons. I've tried to do this calling "SetGroupsHeight",
and it works but there is a problem: when the mouse is over the button,
the "yellow rectangle" showing the selection doesn't seem to decrease its size.
How can i decrease it, or alternatively remove the darker strip in the bottom of the tab?
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 03 November 2009 at 7:21am |
|
Hi,
Try manually set xtpButtonIcon or xtpButtonIconAndCatpion for buttons.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
feffe
Groupie
Joined: 04 September 2009 Status: Offline Points: 56 |
Post Options
Thanks(0)
Quote Reply
Posted: 03 November 2009 at 9:48am |
|
I'm using xtpButtonIconAndCaptionBelow...
EDIT: Writing my customized CXTPRibbonTheme, now I can eliminate
the caption bar from my groups.
However, I still can't resolve 2 problems:
1. Button icons are not centered: they remain on the top of the group rect;
2. If I set my new RibbonTheme (SetTheme) during the call OnCreate of the Frame Window of
my application, it doesn't work; if I set it later, the caption become not visible. The same
happens when I try to resize groups height (SetGroupsHeight). So, where should these
methods be called?
Thanks for your help
|
|
![]() |
|
feffe
Groupie
Joined: 04 September 2009 Status: Offline Points: 56 |
Post Options
Thanks(0)
Quote Reply
Posted: 05 November 2009 at 11:17am |
|
This is the problem: "selection" rectangle is bigger than the button
and the image is not centered.
![]() Please help, this is the last thing I must face for finishing my program.
![]() |
|
![]() |
|
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 |