bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Lars Ingebrigtsen
Subject: bug#54196: 29.0.50; flat-button face box style does not work as expected
Date: Mon, 28 Feb 2022 11:28:02 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

David Ponce <da_vid@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

PNG image




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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]