GNU bug report logs -
#43405
Tool bar item doesn't align to the right edge
Previous Next
Full log
Message #53 received at 43405 <at> debbugs.gnu.org (full text, mbox):
>>>>> On Mon, 21 Sep 2020 22:04:36 +0300, Eli Zaretskii <eliz <at> gnu.org> said:
>> Does that sound like it would work? Is there a more direct way of
>> calculating that width? (I got lost in all the various move_to
>> functions).
Eli> I'd first try to repeat what we do for :align-to support: insert a
Eli> stretch glyph of a suitable width, computed using it->last_visible_x
Eli> and the width of the image for the button that has to be
Eli> right-justified. See produce_stretch_glyph (except that most of it is
Eli> not relevant, since :align-to supports a lot of functionalities).
OK, that would work, but then you could only right justify a single
item, which would be different from what you can do with the GTK tool
bar (and I see no reason to restrict this to tool bar buttons, I see
at least org-mode wants to right-justify headline tags)
Robert
This bug report was last modified 4 years and 267 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.