Skip to content

Fix: Taskbar overflows a little bit on smart width#2570

Open
jinliu wants to merge 1 commit intonoctalia-dev:mainfrom
jinliu:fix/taskbar-width
Open

Fix: Taskbar overflows a little bit on smart width#2570
jinliu wants to merge 1 commit intonoctalia-dev:mainfrom
jinliu:fix/taskbar-width

Conversation

@jinliu
Copy link
Copy Markdown

@jinliu jinliu commented Apr 27, 2026

GridLayout.columnSpacing was not accounted when calculating the auto width.

Type of Change

Mark the relevant option with an "x".

  • Bug fix
  • New feature
  • Breaking change
  • Refactoring

Testing

Describe how you tested your changes and mark the relevant items.

  • Tested on niri
  • Tested on Hyprland
  • Tested on sway
  • Tested with different bar positions and density settings
  • Tested at different interface scaling values
  • Tested with multiple monitors (if applicable)

Checklist

  • Code follows project style guidelines
  • Self-reviewed my code
  • No new warnings or errors
  • Documentation or comments updated (if relevant)

GridLayout.columnSpacing was not accounted when calculating the auto width.
Copilot AI review requested due to automatic review settings April 27, 2026 05:26
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes a minor taskbar width overflow when smartWidth is enabled by accounting for GridLayout.columnSpacing in the per-entry width calculation used to clamp title width.

Changes:

  • Adjusts the smart-width per-entry width calculation to include spacing between entries.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Modules/Bar/Widgets/Taskbar.qml
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.

2 participants