Better onscreen keyboard button sizing

No longer restricted to "the same as other UI buttons"
(e.g., 48x48 default) or "1/4th that size" (e.g., 24x24).
Will scale, allowing for larger buttons when appropriate.
h/t Anat Caspi for pointing out the continuing issue.

Closes https://sourceforge.net/p/tuxpaint/feature-requests/212/
This commit is contained in:
Bill Kendrick 2022-01-25 00:52:14 -08:00
parent 3b027b9a4c
commit 3518433808
4 changed files with 121 additions and 109 deletions

View file

@ -42,6 +42,17 @@ http://www.tuxpaint.org/
well as a non-skewed starting angle for octagons (22.5 degrees).
Bill Kendrick <bill@newbreedsoftware.com>
* Improvements to "Text" & "Label" tools:
---------------------------------------
* Onscreen keyboard button sizes no longer restricted to
"the same size as other UI buttons" or "1/4th the size...",
and will now scale down from the full-size buttons to whatever
allows the full layout to fit within 90% of the canvas width
and 50% of the canvas height (picking the smallest size, to keep
square buttons for letters/numbers/symbols).
+ Closes https://sourceforge.net/p/tuxpaint/feature-requests/212/
(h/t Anat Caspi)
* Localization Updates:
---------------------
* Albanian translation