![]() |
Quick Access Separators |
Post Reply
|
| Author | |
mrmathis
Senior Member
Joined: 17 May 2007 Location: United States Status: Offline Points: 105 |
Post Options
Thanks(0)
Quote Reply
Topic: Quick Access SeparatorsPosted: 12 November 2008 at 9:55am |
|
My designers would like a separator capability on the quick access toolbar. Something like this:
or this
![]() I tried calling BeginGroup on a couple of controls, and got this.
![]() That is servicable but not as aesthetically pleasing as I was hoping. Is there any way to add some spacing around the bar to give a more obvious separation? Is the second picture in my wish list even remotely possible?
Thanks.
|
|
|
--Mike
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 13 November 2008 at 2:38am |
|
Thanks, please patch our sources - insert
if (pControl->GetBeginGroup())
nLeft += 6; in CXTPRibbonBar::Reposition
before "if (!bSpecial && (nLeft + szControl.cx > nRight))"
Its changed for next release too.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
mrmathis
Senior Member
Joined: 17 May 2007 Location: United States Status: Offline Points: 105 |
Post Options
Thanks(0)
Quote Reply
Posted: 13 January 2009 at 11:08am |
|
This is working out well for me. One question has been raised by my UI specialists. When docked above the ribbon, the separator is a couple of pixels too high, as shown below: ![]() ![]() { if (!pControl->GetWrap()) { Line(pDC, rcControl.left - 4, rcRow.top + 4, rcControl.left - 4, rcRow.bottom - 4, XPCOLOR_SEPARATOR); if (!m_bPlainSeparators) Line(pDC, rcControl.left - 3, rcRow.top + 5, rcControl.left - 3, rcRow.bottom - 3, COLOR_3DHIGHLIGHT); } ... |
|
|
--Mike
|
|
![]() |
|
mrmathis
Senior Member
Joined: 17 May 2007 Location: United States Status: Offline Points: 105 |
Post Options
Thanks(0)
Quote Reply
Posted: 23 January 2009 at 11:46am |
|
Any thoughts on this?
|
|
|
--Mike
|
|
![]() |
|
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 |