protesilaos / spacious-padding

Increase the padding/spacing of GNU Emacs frames and windows.
GNU General Public License v3.0
59 stars 2 forks source link

Differenciate `:internal-border-width` further #8

Closed LukasCBossert closed 2 months ago

LukasCBossert commented 4 months ago

I was wondering whether it is possible to have instead of :internal-border-width also e.g. :top-border-width. Then only a margin at the top border is applied.

In my case I am using sketchybar and in full-screenmode the Emacs window is "behind" the sketchybar. It would be totally sufficient only to have a margin on top.

Great work with this and the other packages!

protesilaos commented 4 months ago

From: "Lukas C. Bossert" @.***> Date: Thu, 14 Mar 2024 14:48:07 -0700

I was wondering whether it is possible to have instead of :internal-border-width also e.g. :top-border-width. Then only a margin at the top border is applied.

I am not aware of a way to do this. Looking at the manual, we do not have separate values for each side of the internal border.

Evaluate this to read the relevant entry:

(info "(elisp) Layout Parameters")

If there is a way to differentiate those borders, I am happy to do it.

In my case I am using sketchybar and in full-screenmode the Emacs window is "behind" the sketchybar. It would be totally sufficient only to have a margin on top.

Ah yes, that would be cool.

Great work with this and the other packages!

Thank you!

-- Protesilaos Stavrou https://protesilaos.com

protesilaos commented 2 months ago

I don't think there is a way to do this due to Emacs' limitations. Closing now.