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

#1

Updated by Koen Deforche almost 8 years ago

  • Status changed from New to InProgress
  • Assignee set to Korneel Dumon
  • Target version set to 3.3.4

Add WTabWidget::setOverflow()

#2

Updated by Koen Deforche almost 8 years ago

  • Assignee changed from Korneel Dumon to Pavel Sopher
#3

Updated by Koen Deforche over 7 years ago

  • Assignee changed from Pavel Sopher to Benoit Daccache
#4

Updated by Benoit Daccache over 7 years ago

  • Status changed from InProgress to Resolved
#5

Updated by Koen Deforche over 7 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF