innerBox reminder added

This commit is contained in:
Uwe Rathmann 2019-05-10 07:33:59 +02:00
parent 4850cdfac1
commit 16d071489e
1 changed files with 6 additions and 1 deletions

View File

@ -47,7 +47,7 @@ QskTabView::QskTabView( Qsk::Position tabPosition, QQuickItem* parent )
m_data->stackBox->setZ( 0 ); m_data->stackBox->setZ( 0 );
#if 1 #if 1
const QskAnimationHint hint = animation( Page ); const auto hint = animation( Page );
if ( hint.duration > 0 ) if ( hint.duration > 0 )
{ {
// When changing the skin, we have to update the animator. TODO ... // When changing the skin, we have to update the animator. TODO ...
@ -247,7 +247,12 @@ bool QskTabView::event( QEvent* event )
void QskTabView::updateLayout() void QskTabView::updateLayout()
{ {
m_data->tabBar->setGeometry( subControlRect( TabBar ) ); m_data->tabBar->setGeometry( subControlRect( TabBar ) );
#if 1
m_data->stackBox->setGeometry( subControlRect( Page ) ); m_data->stackBox->setGeometry( subControlRect( Page ) );
#else
m_data->stackBox->setGeometry( innerBox( Page, subControlRect( Page ) ) );
#endif
} }
#include "moc_QskTabView.cpp" #include "moc_QskTabView.cpp"