awful.menu: Make sure the arrow is always visible
commit5eed35b7e04750b197e45534a2d0dd6287f565f1
authorUli Schlachter <psychon@znc.in>
Thu, 7 Oct 2010 08:15:29 +0000 (7 10:15 +0200)
committerUli Schlachter <psychon@znc.in>
Thu, 7 Oct 2010 08:15:29 +0000 (7 10:15 +0200)
treec081e456e5e4fafde8a5a9ea099375ac3c61281d
parentbb975a24641fab8364e44066aa61910e83420826
awful.menu: Make sure the arrow is always visible

By setting the textbox in an align layout's middle, the submenu icon will always
get the space it needs and the textbox will get the rest. Previously, the
textbox took as much as it wanted and the image got the rest. This looked ugly.

Signed-off-by: Uli Schlachter <psychon@znc.in>
lib/awful/menu.lua.in