Skip to content

Refactor UI layout for improved screen real estate and theme polish - #347

Open
adityapandeydev wants to merge 2 commits into
RawAccelOfficial:userinterfacefrom
adityapandeydev:userInterfaceV2
Open

Refactor UI layout for improved screen real estate and theme polish#347
adityapandeydev wants to merge 2 commits into
RawAccelOfficial:userinterfacefrom
adityapandeydev:userInterfaceV2

Conversation

@adityapandeydev

Copy link
Copy Markdown

This PR introduces a structural layout refresh for the user interface to improve screen real estate, fix text clipping issues, and refine the dark theme rendering.

Key Changes & Reasoning:

Top Navigation Bar: Moved the primary navigation (Profiles, Devices, Mappings) and action buttons from a left sidebar into a top header. This frees up significant horizontal space for the main content area, allowing the graph to be larger by default.
Settings Panel Width Adjustments: Increased the width of the main settings panel (from 420 to 460) and adjusted the DefaultLabelWidth. This fixes an issue where longer items in the ComboBox dropdowns (such as the "Synchronous" formula type) were getting visually cut off.
Layout Refactoring: Replaced absolute positioning and hardcoded margins in the Profile List and Chart views with standard StackPanel and Grid layouts. This ensures the application scales and resizes responsively without elements overlapping.
Hover State Rendering Fix: Removed slow BrushTransition animations from the navigation buttons. Animating from a transparent background to a solid color was causing Windows ClearType subpixel rendering to flash and fringe colors during the transition. The hover states now snap instantly, keeping the text crisp and the UI feeling responsive.
Dark Theme Palette: Updated the background and control brushes to a flatter, standard dark mode aesthetic.
(Please refer to the attached before and after screenshots for a visual comparison of the layout changes!)
Screenshot 2026-08-27 162215
Screenshot 2026-08-29 135706

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