AlynxZhou / showmethekey

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

Adjust content if `Clickable` is turned off #52

Closed KAGEYAM4 closed 2 months ago

KAGEYAM4 commented 3 months ago

Currently even if Clickable option is turned off, the text is not centered and stays the same. Here's an example ->

image image



image image

AlynxZhou commented 3 months ago

Hiding and showing titlebar requires remap window, so I cannot do it. I've tried to make titlebar as small as possible, I am not sure why your titlebar is still large, what's your GTK theme settings?

KAGEYAM4 commented 3 months ago

Hiding and showing titlebar requires remap window, so I cannot do it. I've tried to make titlebar as small as possible, I am not sure why your titlebar is still large, what's your GTK theme settings?

I didn't had time to go into theming rabbit hole ( procastinating ).

Not sure if this is the right file or not -> ~/.config/gtk-3.0/settings.ini

[Settings]
gtk-theme-name=Rose-Pine
gtk-icon-theme-name=Tela-circle-dracula
gtk-font-name=Cantarell 10
gtk-cursor-theme-name=Bibata-Modern-Ice
gtk-cursor-theme-size=22
gtk-toolbar-style=GTK_TOOLBAR_ICONS
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=0
gtk-menu-images=0
gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=0
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle=hintfull
gtk-xft-rgba=rgb
gtk-application-prefer-dark-theme=1
AlynxZhou commented 3 months ago

This app is using GTK4, not GTK3, what is your version?

KAGEYAM4 commented 3 months ago
[phoenix@ArchLinux gtk-4.0]$ showmethekey-gtk --version
1.13.1

i dont haven any files under '~/.config/gtk-4.0`. So i think my system is using this ->

/usr/share/gtk-4.0/settings.ini

[Settings]
gtk-icon-theme-name = Adwaita
gtk-theme-name = Adwaita
gtk-font-name = Cantarell 11
AlynxZhou commented 2 months ago

Don't know why I commented out that line.

Should be fixed by https://github.com/AlynxZhou/showmethekey/commit/9438137f32c7d9cf212a5f8c872b66d3779df080.