Add padding property to background image #9122

Open
opened 2026-01-31 01:46:38 +00:00 by claunia · 0 comments
Owner

Originally created by @jt-github on GitHub (Jun 18, 2020).

For those of us that like to have a little icon as a background to help remind us of which tab we're in, the backgroundImage, backgroundImageAlignment (I prefer topRight), and backgroundImageStretchMode (I prefer none) are perfect. That sort of thing is usually desirable for images that fill up the whole pane, but smaller images that live somewhere other than the center of the pane are forced to slam up against the edges.

I propose a new property to allow adding a little space between the image and the edges of the pane:
backgroundImagePadding

Originally created by @jt-github on GitHub (Jun 18, 2020). For those of us that like to have a little icon as a background to help remind us of which tab we're in, the `backgroundImage`, `backgroundImageAlignment` (I prefer `topRight`), and `backgroundImageStretchMode` (I prefer `none`) are perfect. That sort of thing is usually desirable for images that fill up the whole pane, but smaller images that live somewhere other than the center of the pane are forced to slam up against the edges. I propose a new property to allow adding a little space between the image and the edges of the pane: `backgroundImagePadding`
claunia added the Resolution-Duplicate label 2026-01-31 01:46:38 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#9122