Project

General

Profile

Bug #3411

WTabWidget expose setOverflow of implementing WContainerWidget?

Added by Stefan Ruppert about 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Benoit Daccache
Target version:
Start date:
07/01/2014
Due date:
% Done:

0%

Estimated time:

Description

Hi,

I have a WTabWidget which should hide its tabs if the width gets to small for all tabs. Currently I have implemented the following workaround by subclassing WTabWidget as follows:

class ToolBarTab : public WTabWidget
{
   public:
      ToolBarTab()
         : WTabWidget()
      {
         dynamic_cast<WContainerWidget*>(implementation())->setOverflow(WContainerWidget::OverflowHidden, Vertical);
      }
};

Regards,

Stefan

Also available in: Atom PDF