Repository navigation
fix: the map's toolbar fits narrow windows - #35
Merged
Merged
Conversation
In a window narrower than the default, Follow's label and list covered the map toolbar's chips. The toolbar now leaves things out in turn as it runs out of room: the chips' labels, whose names then show when you point at a chip, Follow's label, the planned Live and Orders chips, room in Follow's list, and then Follow. At the default width it looks as before.
vdmkenny
pushed a commit
that referenced
this pull request
Oct 15, 2026
🤖 I have created a release *beep* *boop* --- ## [0.2.1](v0.2.0...v0.2.1) (2026-10-15) ### Fixes * panel tabs stay inside their bar in narrow windows ([#36](#36)) ([74125a9](74125a9)) * the map's names and routes, and long text in the panels ([#33](#33)) ([dc1f6e3](dc1f6e3)) * the map's toolbar fits narrow windows ([#35](#35)) ([7ea8701](7ea8701)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.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.
In a window narrower than the default 1440 pixels, Follow's label and list covered the map toolbar's chips, and at about 1000 pixels the projection's switch too.
The toolbar now leaves things out in turn as it runs out of room:
The choice is a small struct,
ToolbarFit, with tests. The toggle chip takes its options as a struct, like the tool button, with an icon-only form.Checked headless on mission 6 at 1440, 1180, 1040 and 920 pixels wide: no overlaps, and at 1440 the toolbar looks as before.