Skip to content

Qt sidebar pane: controls in a horizontal row at the bottom - #38

Merged
trissim merged 1 commit into
mainfrom
fix/qt-sidebar-controls-bottom-row
Nov 17, 2026
Merged

trissim merged 1 commit into
mainfrom
fix/qt-sidebar-controls-bottom-row

Conversation

@trissim

@trissim trissim commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

Summary

SidebarPane._apply_layout_for previously branched on the edge axis: top/bottom edges got a row of controls at the far edge, left/right edges got a column stacked on the interior side. On a narrow phone pane the vertical column eats disproportionate screen real estate.

A row at the bottom is uniformly compact across every edge. Deletes _is_horizontal_axis and _controls_leading — no caller outside the pane referenced either.

Test plan

  • Sidebar pane on left or right edge shows controls as a horizontal row at the bottom, content fills the rest.
  • Same visual result on top/bottom edges.

🤖 Generated with Claude Code

https://claude.ai/code/session_016gZLdupVQyBzHTmHBC9Cyn

The pane previously branched on edge axis: horizontal pane (top/bottom edge)
got a row of controls, vertical pane (left/right edge) got a column stacked
on the interior side. On a narrow phone screen the column consumes
disproportionate space and the pane's content barely fits. A row at the
bottom is uniformly compact across all edges.

Deletes _is_horizontal_axis and _controls_leading — no caller references
either outside the pane.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016gZLdupVQyBzHTmHBC9Cyn
@trissim
trissim merged commit 2e94a57 into main Nov 17, 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