Skip to content

feat(FocusedWindow): Improve content width calculation and add size options#2444

Open
lichie567 wants to merge 2 commits into
AvengeMedia:masterfrom
lichie567:betterfocusedapp
Open

feat(FocusedWindow): Improve content width calculation and add size options#2444
lichie567 wants to merge 2 commits into
AvengeMedia:masterfrom
lichie567:betterfocusedapp

Conversation

@lichie567
Copy link
Copy Markdown

There are two main changes in this PR:

  1. Changes the FocusedWindow widget to use RowLayout instead of Row for improved content width calculation.
  2. Replaces the "Compact Mode" toggle with a new context menu that allows for the selection of multiple sizes for the widget, along with a toggle for compact mode.

With this change, "Compact Mode" no longer has any affect on the widget's actual size, but only hides the app name prefix.

I've chosen the following sizes for each option:
Small -> Same size as the previous "Compact Mode" widget
Medium -> Same size as the previous normal widget
Large -> roughly 40% bigger than the previous normal widget
Largest -> roughly 80% bigger than the previous normal widget

I'm open to changing these sizes if you have any feedback.

image

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