[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#43405: Tool bar item doesn't align to the right edge
From: |
Juri Linkov |
Subject: |
bug#43405: Tool bar item doesn't align to the right edge |
Date: |
Tue, 15 Sep 2020 21:14:45 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) |
> Btw, are you trying this in a GTK build or with some other toolkit?
I tried both GTK and no-toolkit, and it can't align the icon to the right
on the tool-bar.
Whereas the same code nicely alights the icon on the tab-bar:
(progn
(tab-bar-mode)
(advice-add
'tab-bar-make-keymap-1 :around
(lambda (orig-fun)
(append (funcall orig-fun)
`((menu-bar
menu-item
,(concat
(propertize " " 'display '(space :align-to (- right 5)))
(propertize " " 'display
'(image :type xpm
:file "newsticker/narrow.xpm")))
(lambda ()
(interactive)
(popup-menu (mouse-menu-bar-map)))))))
'((name . tab-bar-menu-bar))))
- bug#43405: Tool bar item doesn't align to the right edge, Juri Linkov, 2020/09/14
- bug#43405: Tool bar item doesn't align to the right edge, Eli Zaretskii, 2020/09/14
- bug#43405: Tool bar item doesn't align to the right edge,
Juri Linkov <=
- bug#43405: Tool bar item doesn't align to the right edge, Eli Zaretskii, 2020/09/15
- bug#43405: Tool bar item doesn't align to the right edge, Juri Linkov, 2020/09/16
- bug#43405: Tool bar item doesn't align to the right edge, Robert Pluim, 2020/09/17
- bug#43405: Tool bar item doesn't align to the right edge, Eli Zaretskii, 2020/09/17
- bug#43405: Tool bar item doesn't align to the right edge, Robert Pluim, 2020/09/17
- bug#43405: Tool bar item doesn't align to the right edge, Eli Zaretskii, 2020/09/17
- bug#43405: Tool bar item doesn't align to the right edge, Robert Pluim, 2020/09/17
- bug#43405: Tool bar item doesn't align to the right edge, Eli Zaretskii, 2020/09/17
- bug#43405: Tool bar item doesn't align to the right edge, Robert Pluim, 2020/09/18
- bug#43405: Tool bar item doesn't align to the right edge, Eli Zaretskii, 2020/09/18