Project

General

Profile

Actions

Bug #3411

closed

WTabWidget expose setOverflow of implementing WContainerWidget?

Added by Stefan Ruppert over 10 years ago. Updated over 9 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

Actions #1

Updated by Koen Deforche about 10 years ago

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

Add WTabWidget::setOverflow()

Actions #2

Updated by Koen Deforche about 10 years ago

  • Assignee changed from Korneel Dumon to Pavel Sopher
Actions #3

Updated by Koen Deforche over 9 years ago

  • Assignee changed from Pavel Sopher to Benoit Daccache
Actions #4

Updated by Benoit Daccache over 9 years ago

  • Status changed from InProgress to Resolved
Actions #5

Updated by Koen Deforche over 9 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF