GNU bug report logs - #54196
29.0.50; flat-button face box style does not work as expected

Previous Next

Package: emacs;

Reported by: David Ponce <da_vid <at> orange.fr>

Date: Mon, 28 Feb 2022 09:31:02 UTC

Severity: normal

Tags: moreinfo

Found in version 29.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #16 received at 54196 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: David Ponce <da_vid <at> orange.fr>
Cc: 54196 <at> debbugs.gnu.org
Subject: Re: bug#54196: 29.0.50; flat-button face box style does not work as
 expected
Date: Mon, 28 Feb 2022 11:28:02 +0100
[Message part 1 (text/plain, inline)]
David Ponce <da_vid <at> orange.fr> writes:

> 1st line with a gray pressed-button box around the text. Work as expected.
> 2nd line with a gray released-button box around the text. Work as expected.
> 3rd line with a gray flat-button box around the text. Doesn' work as
> expected. The gray line around the text is not visible.

With a flat button, there is no line around the button.  So you'd
typically say

 (propertize "This buffer is for text"
	     'font-lock-face
	     '( :box ( :line-width (4 . 4)
		       :style flat-button)
	      :background "dark grey"))


and get

[Message part 2 (image/png, inline)]
[Message part 3 (text/plain, inline)]



-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no

This bug report was last modified 3 years and 83 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.