Repository navigation
The job's row and the answers under it wrap - #111
Merged
Merged
Conversation
…its width needs While a job ran, the window could not be narrower than the job's row: title, progress bar, rate and time left and five buttons on one line, about 640 px at a 12 pt font, and the conflict or error bar's row of answers under it was another line that did not give way. In one column of a scrolling layout the content was cut at the edge. The row is two cells in a FlowLayout: what the job is and how far, then the numbers and the buttons. They share a line where there is room and take two where there is not. The answers of the conflict and the error bar wrap the same way; "Apply to all" follows the buttons. Two things kept the first attempt (7a5c703, taken back in afd4241) from working, the bars' lines over one another: - The strip sits in a vertical splitter, which reads size hints and never asks for a height for a width. The strip's hints now give the height its layout needs at the width it has, and it tells the splitter again when its width changes. - A box layout caps a widget whose vertical policy is Fixed at its hint, which for a row that wraps is the height of one line. The job's row and the bars are Minimum instead. The job's panel needed nothing: with it open the window asks for no more than before. test_window: the bound of 75 average characters (#96) is asked of every panel and bar again, the conflict bar with its job running among them. A new case holds a copy at a conflict and looks at what is on screen: wide, the row is one line; in a window as narrow as it may be the buttons are under the progress bar, the strip is higher, and no button, label or bar in it lies over another or outside it, with the job's panel open as well; wide again, the strip gives the second line back. Closes #109 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
crustovsky
force-pushed
the
strip-wraps
branch
from
November 26, 2026 19:30
32c68ef to
b716ee7
Compare
With the packaging container's small font the job's row fits one line in the narrowest window the panes allow. That nothing overlaps is asked at any font; that the buttons are under the bar, where the row is wider than the line it has. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The first progress bar found under the strip is one of the job's panel, hidden until Details is pressed; where the row wrapped, the buttons were compared with a bar that is nowhere. Seen in the packaging build (Fusion, no fonts installed), where the row needs its second line and has it. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #109. Stacked on #110.
The job's row is two cells that share a line where there is room and take two where there is not; the answers of the conflict and the error bar wrap the same way. With a job running and a conflict shown the window asks for no more than the panels do (75 average characters, #96).
What kept the first attempt from working:
test_windowholds a copy at a conflict and checks what is on screen at both widths, with the job's panel open as well: nothing in the strip lies over anything else or outside it.🤖 Generated with Claude Code