From b1c3c119846e74b04288a150715ca41f88b94781 Mon Sep 17 00:00:00 2001 From: Uwe Rathmann Date: Fri, 13 Mar 2020 18:11:56 +0100 Subject: [PATCH] obsolete comment removed --- src/controls/QskTabBar.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/controls/QskTabBar.cpp b/src/controls/QskTabBar.cpp index d6cf9717..199561bb 100644 --- a/src/controls/QskTabBar.cpp +++ b/src/controls/QskTabBar.cpp @@ -250,11 +250,7 @@ QskTabBar::QskTabBar( Qsk::Position position, QQuickItem* parent ) m_data->buttonBox = new ButtonBox( orientation, m_data->scrollBox ); m_data->buttonBox->setSpacing( metric( QskTabBar::Panel | QskAspect::Spacing ) ); - -#if 1 - // We might want to have a mode, where the buttons are stretched: TODO ... m_data->buttonBox->setSizePolicy( QskSizePolicy::Maximum, QskSizePolicy::Maximum ); -#endif connect( this, &QskTabBar::currentIndexChanged, m_data->buttonBox, &ButtonBox::restack, Qt::QueuedConnection );