Skip to content

The rows of controls in the sync, multi-rename and pack panels wrap - #101

Closed
crustovsky wants to merge 1 commit into
readme-keysfrom
panels-wrap
Closed

crustovsky wants to merge 1 commit into
readme-keysfrom
panels-wrap

Conversation

@crustovsky

Copy link
Copy Markdown
Owner

Closes #96. Stacked on the README PR (#99).

  • FlowLayout: a row of widgets that wraps, gives the room left on a line to the items that can expand, and asks for no more than its widest single item. A label and its field stay together as one cell.
  • The sync panel's options and actions, the multi-rename panel's names, options and presets, and the pack panel's choices use it. The window's minimum width with these panels open drops from about 1060 to 1090 px to under 680 px at a 12 pt font, and at 1400 px the two panes stay even.
  • The sync panel's two paths elide, one line each; ElidedLabel now cuts each line of its text on its own.
  • test_window: no panel or bar makes the window ask for more than 75 average characters of width.
  • The README shots are rendered again; the multi-rename and folder sync ones show the new rows.

🤖 Generated with Claude Code

With the sync or the multi-rename panel open the window's minimum
width was about 1060 and 1090 px at a 12 pt font: each row of controls
was one line that did not give way. In a 1400 px window the pane with
the panel took what it needed and the other pane was left a sliver; in
a window narrower than the minimum the content was cut at the edge.

FlowLayout is a row that wraps: what does not fit the width goes on
the next line, room left on a line goes to the items that can expand,
and the least it asks for is its widest single item. A label and its
field travel together as one cell. The sync panel's options and
actions, the multi-rename panel's names, options and presets and the
pack panel's choices are such rows now. In a wide pane they read as
before; the two panes stay even.

The sync panel's two paths elide, a line each, where they used to
wrap over as many lines as it took: ElidedLabel cuts each line of its
text on its own.

test_window: no panel or bar makes the window ask for more than 75
average characters of width; the README shots of the two panels are
rendered again.

Closes #96

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KxLwQtp3yonrpxnzSFpc3w
@crustovsky

Copy link
Copy Markdown
Owner Author

In main through #107; released in v0.9.6.

@crustovsky crustovsky closed this Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant