Expand demo_group_size.py

Open Beginner friendly
#315 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
62/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Stale
Tech stack
python

Research direction

Open examples/demo/Useful/demo_group_size.py and inspect the existing HSplit example. Update the example or add a comment showing HGroup with the two sides configured as springy=False and springy=True, including the fixed-side Table case; done means the intended non-expanding behavior is clearly demonstrated.

Written by the indexing model from the issue text.

Description

good first issue

Include an example (or at least comment) when one half should not expand (replace HSplit by HGroup, and make the two sides springy = False and True, respectively). This would be particularly helpful when the fixed (non-springy) side is a Table, which "wants" to keep widening if given the chance.

https://github.com/enthought/traitsui/blob/master/examples/demo/Useful/demo_group_size.py

Dominant language
Python
Stars
306
Forks
99
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from enthought/traitsui

All issues in enthought/traitsui

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.