Weird TabToolbar behavior |
Post Reply |
Author | |
rconn
Groupie Joined: 16 May 2007 Location: United States Status: Offline Points: 77 |
Post Options
Thanks(0)
Posted: 27 July 2009 at 9:50pm |
Using 13.1.0:
I have a tabbed toolbar (CXTPTabToolbar) with several tabs and varying number of buttons. If I select a tab that only has a couple of small buttons, the toolbar collapses to the minimum possible size, which results in all but the current tab disappearing (and the current label only being partially displayed), and a pair of scroll arrows taking their place.
Since I can't imagine why I would want my tab labels to disappear, is there any way to tell the tabbed toolbar to always display all of the tabs (other than forcing the minimum size to be the window width)?
Rex
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Call pToolBar->SetMinimumWidth(..) method.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
rconn
Groupie Joined: 16 May 2007 Location: United States Status: Offline Points: 77 |
Post Options
Thanks(0)
|
That's what I've done, but it requires that I know the greater of the width of the tab labels and the widest toolbar. That gets cumbersome when the toolbar is user-defined.
Rex
|
|
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 |