innerBox reminder added
This commit is contained in:
parent
4850cdfac1
commit
16d071489e
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue