all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: David Ponce <da_vid@orange.fr>
Cc: 54196@debbugs.gnu.org
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	[thread overview]
Message-ID: <87r17nnv4d.fsf@gnus.org> (raw)
In-Reply-To: <c4b67632-77f3-b04b-3731-f2d871640962@orange.fr> (David Ponce's message of "Mon, 28 Feb 2022 11:16:49 +0100")

[-- Attachment #1: Type: text/plain, Size: 576 bytes --]

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


[-- Attachment #2: Type: image/png, Size: 15221 bytes --]

[-- Attachment #3: Type: text/plain, Size: 107 bytes --]





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

  reply	other threads:[~2022-02-28 10:28 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-28  9:30 bug#54196: 29.0.50; flat-button face box style does not work as expected David Ponce
2022-02-28  9:58 ` Lars Ingebrigtsen
2022-02-28 10:16   ` David Ponce
2022-02-28 10:28     ` Lars Ingebrigtsen [this message]
2022-02-28 10:36       ` Lars Ingebrigtsen
2022-02-28 10:42         ` Lars Ingebrigtsen
2022-02-28 11:15           ` David Ponce
2022-02-28 12:55           ` Eli Zaretskii
2022-02-28 12:57             ` Lars Ingebrigtsen
2022-02-28 13:25               ` Eli Zaretskii
2022-03-01 15:10                 ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r17nnv4d.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=54196@debbugs.gnu.org \
    --cc=da_vid@orange.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.