using setAutoFitTabs
This commit is contained in:
parent
d0b0703551
commit
68b2477fe1
@ -38,6 +38,8 @@ int main( int argc, char* argv[] )
|
|||||||
|
|
||||||
tabView->setMargins( 10 );
|
tabView->setMargins( 10 );
|
||||||
tabView->setTabPosition( Qsk::Left );
|
tabView->setTabPosition( Qsk::Left );
|
||||||
|
tabView->setAutoFitTabs( true );
|
||||||
|
|
||||||
tabView->addTab( "Grid Layout", new GridLayoutPage() );
|
tabView->addTab( "Grid Layout", new GridLayoutPage() );
|
||||||
tabView->addTab( "Flow Layout", new FlowLayoutPage() );
|
tabView->addTab( "Flow Layout", new FlowLayoutPage() );
|
||||||
tabView->addTab( "Linear Layout", new LinearLayoutPage() );
|
tabView->addTab( "Linear Layout", new LinearLayoutPage() );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user