unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#55306: 27.1; How to add face attribute (:box) only on the left/right?
@ 2022-05-07 22:23 José Júnior
  2022-05-08  5:19 ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: José Júnior @ 2022-05-07 22:23 UTC (permalink / raw)
  To: 55306

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

Hi, I'm trying to add some left/right padding in the tab-bar-tab and
mode-line-buffer-id.

I tried adding the :box attribute the tab-bar-tab and the
mode-line-buffer-id faces, but it just lets me add a border on all four
sides - I want only on the left/right.

I also tried to add like this: (:box (:line-width (2 . 3))) for vwidth and
hwidth, but it seems to be invalid.

Besides that, on the mode-line-buffer-id the left side border simply
doesn't appear.

What can I do to achieve what I want?

Thanks!

[-- Attachment #2: Type: text/html, Size: 680 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#55306: 27.1; How to add face attribute (:box) only on the left/right?
  2022-05-07 22:23 bug#55306: 27.1; How to add face attribute (:box) only on the left/right? José Júnior
@ 2022-05-08  5:19 ` Eli Zaretskii
  2022-05-08 15:02   ` José Júnior
  2022-05-22 20:01   ` Lars Ingebrigtsen
  0 siblings, 2 replies; 4+ messages in thread
From: Eli Zaretskii @ 2022-05-08  5:19 UTC (permalink / raw)
  To: José Júnior; +Cc: 55306

> From: José Júnior <jjnilton@gmail.com>
> Date: Sat, 7 May 2022 19:23:58 -0300
> 
> Hi, I'm trying to add some left/right padding in the tab-bar-tab and mode-line-buffer-id. 
> 
> I tried adding the :box attribute the tab-bar-tab and the mode-line-buffer-id faces, but it just lets me add a
> border on all four sides - I want only on the left/right.
> 
> I also tried to add like this: (:box (:line-width (2 . 3))) for vwidth and hwidth, but it seems to be invalid.

This is supported in Emacs 28.1 and later, so you will need to
upgrade.

> Besides that, on the mode-line-buffer-id the left side border simply doesn't appear.
> 
> What can I do to achieve what I want?

You can, but only in Emacs 28.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#55306: 27.1; How to add face attribute (:box) only on the left/right?
  2022-05-08  5:19 ` Eli Zaretskii
@ 2022-05-08 15:02   ` José Júnior
  2022-05-22 20:01   ` Lars Ingebrigtsen
  1 sibling, 0 replies; 4+ messages in thread
From: José Júnior @ 2022-05-08 15:02 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 55306

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

Ok, thanks!

On Sun, May 8, 2022 at 2:19 AM Eli Zaretskii <eliz@gnu.org> wrote:

> > From: José Júnior <jjnilton@gmail.com>
> > Date: Sat, 7 May 2022 19:23:58 -0300
> >
> > Hi, I'm trying to add some left/right padding in the tab-bar-tab and
> mode-line-buffer-id.
> >
> > I tried adding the :box attribute the tab-bar-tab and the
> mode-line-buffer-id faces, but it just lets me add a
> > border on all four sides - I want only on the left/right.
> >
> > I also tried to add like this: (:box (:line-width (2 . 3))) for vwidth
> and hwidth, but it seems to be invalid.
>
> This is supported in Emacs 28.1 and later, so you will need to
> upgrade.
>
> > Besides that, on the mode-line-buffer-id the left side border simply
> doesn't appear.
> >
> > What can I do to achieve what I want?
>
> You can, but only in Emacs 28.
>

[-- Attachment #2: Type: text/html, Size: 1259 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#55306: 27.1; How to add face attribute (:box) only on the left/right?
  2022-05-08  5:19 ` Eli Zaretskii
  2022-05-08 15:02   ` José Júnior
@ 2022-05-22 20:01   ` Lars Ingebrigtsen
  1 sibling, 0 replies; 4+ messages in thread
From: Lars Ingebrigtsen @ 2022-05-22 20:01 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 55306, José Júnior

Eli Zaretskii <eliz@gnu.org> writes:

>> Besides that, on the mode-line-buffer-id the left side border simply
>> doesn't appear.
>> 
>> What can I do to achieve what I want?
>
> You can, but only in Emacs 28.

So there doesn't seem to be anything to be done here, if I understand
correctly, and I'm therefore closing this bug report.

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





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-05-22 20:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-07 22:23 bug#55306: 27.1; How to add face attribute (:box) only on the left/right? José Júnior
2022-05-08  5:19 ` Eli Zaretskii
2022-05-08 15:02   ` José Júnior
2022-05-22 20:01   ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).