enthought / enthought/traitsui

`ShadowGroup` does not get the `width` and `height` values from the shadowed instance

Open
#1,755 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

The `ShadowGroup` class wraps a group instance but does not actually delegate `width` and `height` attributes from the `shadow` attribute, but uses the default behaviour implemented in the parent Group class. This behaviour breaks code that would subclass Group and implement a custom calculation for the width or height attributes.

https://github.com/enthought/traitsui/blob/c10d40d10a20e9cb7feb75b700d5ab41435c8d8d/traitsui/group.py#L541

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.