wengxt / gnome-shell-extension-kimpanel

KDE kimpanel protocol for gnome shell
GNU General Public License v2.0
139 stars 26 forks source link

indicator & menu: set menu alignment to 0.5 (center) #72

Closed taoky closed 1 year ago

taoky commented 1 year ago

By default the indicator menu menuAlignment is set to 0.0, which seems means "right aligned" (I cannot find accurate reference documentations but some posts (1, 2) say so). It's a bit weird:

Screenshot from 2023-04-02 03-40-39

I modified this value locally to 0.5 (center aligned) and it looks better now:

Screenshot from 2023-04-02 03-42-32

(My environment is GNOME 43, with appindicator extension on)

taoky commented 1 year ago

Just found out that this PR is incomplete: the menu changing IME (after clicking Keyboard - English (US)) is still right aligned.

taoky commented 1 year ago

Now the new popup menu is also center aligned after changing KimMenu's arrowAlignment to 0.5.