Skip to content

Conversation

@b606
Copy link

@b606 b606 commented Nov 13, 2025

Instead of autoresizing the hard-coded 8pt, MainWidget::updateFont() uses what the user selected as fontsize in the "Choose Font…" dialog box, giving the user more control of the size of the displayed key labels while the "autoresize font" feature still maintains automatically some visual balance.

PS. This PR is based on my previous PR #4 which fixes the layouts and doc compilation problem that blocked make. Only the last commit is relevant here.

b606 added 12 commits October 26, 2025 03:34
The call to DBus interface org.kde.KeyboardLayouts/getLayout
returns the layout_index.
The call to DBus interface org.kde.KeyboardLayouts/getLayoutsList
returns an array of structure (sss).
Ex. ([Argument: a(sss) {[Argument: (sss) "fr", "fr", "Français (variante)"]}]).
Works for up to four layouts (max on X11 ?)
Instead of autoresizing the hard-coded 8pt, MainWidget::updateFont() uses
what the user selected as fontsize in the "Choose Font…" dialog box,
giving the user more control of the size of the displayed key labels
while the "autoresize" feature maintains some visual balance.
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