Feature Request: Background Image Padding setting option #17105

Closed
opened 2026-01-31 05:32:21 +00:00 by claunia · 2 comments
Owner

Originally created by @Dominik-H on GitHub (Mar 27, 2022).

Description of the new feature/enhancement

I propose adding an option to set padding for background image in settings. While "backgroundImageAlignment" is awesome and works fine for basic image placement adding an option for user to pad their image by requested amount of pixels would allow the user to place the image in any spot in the terminal window.

I am NOT proposing removal of backgroundImageAlignment but an extension option to add padding to image position.

Proposed technical implementation details (optional)

Of course this is up to the implementation team but my proposal is to add parameter similar to the "padding" that positions the text in the terminal.

  • Name of the parameter could be "backgroundImagePadding"
  • It would accept similar options as mentioned "padding" parameter: "#", "#, #" and "#, #, #, #"
  • Default value would be "0, 0, 0, 0"
  • When both "backgroundImageAlignment" parameter and new "backgroundImagePadding" are set, the Alignment position would be taken as origin and added to the padding values which would yield new position of the image e.g.: "bottomRight" option is bottom right corner and together with padding of "0, 10, 0, 10" it would calculate position offseting the image by 10 pixels from bottom right corner in both directions.
Originally created by @Dominik-H on GitHub (Mar 27, 2022). # Description of the new feature/enhancement I propose adding an option to set padding for background image in settings. While "backgroundImageAlignment" is awesome and works fine for basic image placement adding an option for user to pad their image by requested amount of pixels would allow the user to place the image in any spot in the terminal window. I am NOT proposing removal of backgroundImageAlignment but an extension option to add padding to image position. # Proposed technical implementation details (optional) Of course this is up to the implementation team but my proposal is to add parameter similar to the "padding" that positions the text in the terminal. - Name of the parameter could be "backgroundImagePadding" - It would accept similar options as mentioned "padding" parameter: "#", "#, #" and "#, #, #, #" - Default value would be "0, 0, 0, 0" - When both "backgroundImageAlignment" parameter and new "backgroundImagePadding" are set, the Alignment position would be taken as origin and added to the padding values which would yield new position of the image e.g.: "bottomRight" option is bottom right corner and together with padding of "0, 10, 0, 10" it would calculate position offseting the image by 10 pixels from bottom right corner in both directions.
claunia added the Issue-FeatureResolution-Duplicate labels 2026-01-31 05:32:21 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Apr 11, 2022):

Thanks for the suggestion! This is actually already being tracked by another issue on our repo - please refer to #2620 for more discussion.

/dup #2620

@zadjii-msft commented on GitHub (Apr 11, 2022): Thanks for the suggestion! This is actually already being tracked by another issue on our repo - please refer to #2620 for more discussion. /dup #2620
Author
Owner

@ghost commented on GitHub (Apr 11, 2022):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Apr 11, 2022): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#17105