Skip to content

Fix: Restore selected font size correctly on startup and update default label font size#83

Open
subratamondal1029 wants to merge 2 commits intonoroadsleft000:mainfrom
subratamondal1029:fix/font-size-persistence
Open

Fix: Restore selected font size correctly on startup and update default label font size#83
subratamondal1029 wants to merge 2 commits intonoroadsleft000:mainfrom
subratamondal1029:fix/font-size-persistence

Conversation

@subratamondal1029
Copy link
Copy Markdown

This pull request fixes an issue where the selected font size would reset to the default after a system reboot or extension reload.
Although the font size preference was stored correctly in settings, it was not applied to the UI during initialization.

Changes made

  • Applied the stored font size setting in the show() function to ensure it takes effect on startup.
  • Added validation to ensure font size values are correctly applied before use.
  • Updated the stylesheet to reflect the new default label font size.

Result

  • User’s chosen font size now persists correctly after restarting the system or reloading the extension.
  • The UI reflects the stored settings immediately without requiring the user to reopen or adjust settings manually.

Previously, the selected font size would reset to default after system reboot or extension reload.
This fix ensures that the user's chosen font size is restored correctly on startup by applying the stored setting in `show()` and validating size before use.
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