GNU bug report logs -
#51049
28.0.50; tool-bar :vert-only property is broken, not documented and of limited use
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Stefan Kangas <stefan <at> marxist.se> writes:
> According to commit d2bd51898e4 the :vert-only property for toolbar
> items is supposed to be "for tool bar items with labels not shown
> horizontally".
>
> These properties are used in some places in our sources, but are not
> documented in (info "(elisp) Tool Bar").
>
> They also don't seem to be working, at least not in GTK:
Here's how the default toolbar looks for me:
[Message part 2 (image/png, inline)]
[Message part 3 (text/plain, inline)]
If I then add :vert-only to "Save" I get this:
[Message part 4 (image/png, inline)]
[Message part 5 (text/plain, inline)]
So with the current implementation I think it just means "just show the
icon and not icon+text".
> If anything, I would like the option to *hide* labels in horizontal
> mode, as having labels makes the toolbar change size when I switch
> between windows to with different major modes.
Yes, I agree -- the intention seems to be to hide the text only when the
toolbar is vertical, but I think most people would rather prefer the
opposite if this is to be tweakable.
> So should the :vert-only property be documented? Fixed? Removed?
It seems useful and works, so I think it should be documented -- but the
name :vert-only is really misleading. It should be :image-only, I
guess?
This bug report was last modified 186 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.