enthought / enthought/traitsui

Tabbed Group doesn't match WxPython appearance on Qt/OS X

Open
#814 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
306
Forks
99
PR merge metrics
No merged PRs in 30d

Description

This is an old issue, but the `Tabbed` group on WxPython uses Pyface Dock tabs, which are "document-style" tabs (all rendered on the Python side):

![image](https://user-images.githubusercontent.com/600761/81566918-7758b800-9393-11ea-9467-c64191be5be1.png)

However on Qt on Mac it uses "dialog-style" tabs which have different connotations:

![image](https://user-images.githubusercontent.com/600761/81567206-e9310180-9393-11ea-9912-af03b15c0418.png)

When the Qt backend was written there was no alternative, but now we can specify document style tabs. This is already supported by the List Editor, but we should shift `Tabbed` group to use the same.

For those less usual situations where the older style makes sense (eg. at the top-level of a dialog) there may be a case for a flag to permit native dialog style tabs, but this should perhaps be done in a secondary way to allow support on wxpython as well (using wx.Notebook, for example).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.