Repository navigation
Conversation
The detail pane's fixed column widths plus the sidebar's minimum came to ~1371pt of content, more than the 1080pt window minimum and more than the default 1260pt window. NavigationSplitView placed the overflow by centring it, so the sidebar was clipped on the left edge and the trailing table columns and toolbar items were clipped on the right. Because tableHeader and SimulatorRow are separate HStacks that only lined up through hard-coded widths, the same overflow also pushed the RAM values out from under their header. Share the column widths in a single TableColumn enum so the header and the row cannot drift apart, trim the fixed widths so the pane fits inside the 1080pt minimum (the flexible Simulator column absorbs the slack), loosen the sidebar minimum to 300, and truncate long simulator and runtime names instead of letting them widen a row. Fixes MobAI-App#69
Interlap01
requested changes
Nov 14, 2026
Interlap01
left a comment
Contributor
There was a problem hiding this comment.
Thanks, the shared widths are a nice fix. One thing: at 70pt the RUNTIME column now truncates watchOS 26.5 (74pt at 11pt) and visionOS 26.5 (73pt), which fit at the old 74. Could you bump runtime to ~78 and take the points from disk? Its longest value (1,023.5 MB) is ~62pt, so 80 is plenty.
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.
What
The GUI lays out ~1371pt of content into a window that is 1260pt by default and can shrink to 1080pt, so
NavigationSplitViewcentres the overflow: the sidebar is clipped on the left and the trailing table columns and toolbar items on the right. BecausetableHeaderandSimulatorRoware independentHStacks that line up only through hard-coded widths, the same overflow also drags the RAM values out from under their header.Fixes #69
How
tableHeaderandSimulatorRownow read one privateTableColumnenum of widths, so a header and its values cannot drift apart again.The detail pane's minimum drops from ~930pt to ~760pt, which leaves ~1060pt total against the 1080pt window minimum.
Testing
Verified on macOS 27.2 (26B123), Xcode 27.2 (27B52), iOS 27.2 runtime, at the default 1260x820 window:
xcrun swift-format lint --strict gui/ContentView.swift— no findingsmake app— builds clean under-warnings-as-errorsOne trade-off worth naming: SERVICES narrows 150 to 130, so "Unknown while shutdown" truncates a few characters earlier than it used to. Happy to rebalance the width budget if you would rather take those points from a different column.