WinUI: Reduce navigation bar item size to fit long translations#4741
Merged
Conversation
Marc-André Moreau (mamoreau-devolutions)
approved these changes
May 11, 2026
2601ac6
into
main
3 checks passed
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.
This pull request focuses on refining the UI by reducing the size and spacing of several navigation and avatar elements to create a more compact and visually consistent interface. The main changes involve adjusting icon and control sizes, margins, and font sizes across navigation items and user avatar components.
UI Compactness and Visual Consistency:
CustomNavViewItemfrom 24px to 20px and adjusted the progress ring's size and margin to match. The height of the navigation item was also decreased from 54px to 48px. (src/UniGetUI/Controls/CustomNavViewItem.cs)CompactPaneLengthof the main navigation view from 68px to 52px, making the collapsed navigation pane narrower. (src/UniGetUI/Pages/MainView.xaml)src/UniGetUI/Pages/MainView.xaml)UserAvatarcontrol in the navigation pane footer to be smaller, aligning it with the new compact design. (src/UniGetUI/Pages/MainView.xaml)PersonPictureavatar size in both login and logout controls from 36px to 32px for consistency with other UI elements. (src/UniGetUI/Services/UserAvatar.cs)**
issue #4738