![]() |
XTPTabClientWnd & Show Tab item |
Post Reply ![]() |
Author | |
jimmy ![]() Senior Member ![]() Joined: 11 November 2003 Location: Austria Status: Offline Points: 516 |
![]() ![]() ![]() ![]() ![]() Posted: 28 July 2004 at 8:35am |
Hello,
After append many view on a CXTPTabClientWnd, only a small part of the last TabItem is visible. Only after click scroll right the complete item is visible ? Jimmy |
|
![]() |
|
jimmy ![]() Senior Member ![]() Joined: 11 November 2003 Location: Austria Status: Offline Points: 516 |
![]() ![]() ![]() ![]() ![]() |
![]() If i add new View, TabClientWnd will autom. add a TabItem, but only a part is on creation visible ? Solution to show the complete TabItem ? Jimmy |
|
![]() |
|
SuperMario ![]() Senior Member ![]() ![]() Joined: 14 February 2004 Status: Offline Points: 18057 |
![]() ![]() ![]() ![]() ![]() |
You can try to change the Tab Layout - XTPTabLayoutStyle. Take a look at the Tab Manager sample.
enum XTPTabLayoutStyle { xtpTabLayoutAutoSize, xtpTabLayoutSizeToFit, xtpTabLayoutFixed, xtpTabLayoutCompressed, }; |
|
![]() |
|
jimmy ![]() Senior Member ![]() Joined: 11 November 2003 Location: Austria Status: Offline Points: 516 |
![]() ![]() ![]() ![]() ![]() |
Hello,
some problem was, that at time of creation, the window has no name. So the TabWidth is small. After a short time (or some messages later the name is set). And the TabWidth is resize but not Reposition. Now we set at creationtime the windowname to many space. It work, but it is not beautiful. Is this a bug ? After change name, resize(ok) & reposition. greetings Jimmy |
|
![]() |
|
jimmy ![]() Senior Member ![]() Joined: 11 November 2003 Location: Austria Status: Offline Points: 516 |
![]() ![]() ![]() ![]() ![]() |
Also draw a simple vertical borderline between tab & Left/right arrow.
Jimmy |
|
![]() |
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 |