AlynxZhou / showmethekey

Show keys you typed on screen.
https://showmethekey.alynx.one/
Apache License 2.0
351 stars 28 forks source link

Font size is enormous, and can't be changed #59

Closed DuncanMcRae closed 2 weeks ago

DuncanMcRae commented 1 month ago

Font size fills the entire height of the window. At 200px, this is too much on a 1080p monitor; I don't want to have the window stretch hz across my entire screen so users can read what's going on. You should be able to reduce the size of the window so you can get 12pt font - or something like that.

AlynxZhou commented 1 month ago

Previously you can reduce the window height, but after some update of GTK it limits minimal window height to 200px, and I don't find where to remove the limitation, once I know this will be fixed.

cafreo commented 3 weeks ago

the issue seems to occur since libadwaita 1.6. downgrading to 1.5.4 fixed it for me

AlynxZhou commented 3 weeks ago

the issue seems to occur since libadwaita 1.6. downgrading to 1.5.4 fixed it for me

Let me check what is changed between those two versions.

AlynxZhou commented 3 weeks ago

https://gitlab.gnome.org/GNOME/libadwaita/-/commit/7a705c7959d784fa6d40af202d5d06d06f1e2fa6

OK. Let me overwrite it.

AlynxZhou commented 3 weeks ago

image

Done.

AlynxZhou commented 3 weeks ago

Fixed by https://github.com/AlynxZhou/showmethekey/commit/fa4c79e4f4e76a7614968225a19adf91f2e0f137.