Skip to content

Background image drawing modes and alignment#713

Merged
mattrose merged 3 commits intognome-terminator:masterfrom
Vulcalien:bg-image-draw-modes
Mar 1, 2023
Merged

Background image drawing modes and alignment#713
mattrose merged 3 commits intognome-terminator:masterfrom
Vulcalien:bg-image-draw-modes

Conversation

@Vulcalien
Copy link
Copy Markdown
Member

Closes #644.

After quite some time, I made the GUI changes that were necessary. This PR adds different drawing modes and alignment for the background image.

terminator-gui-changes


New config options: background_image_mode, background_image_align_horiz and background_image_align_vert.

  1. background_image_mode:
    • stretch_and_fill
    • scale_and_fit
    • scale_and_crop
    • tiling
  2. background_image_align_horiz:
    • left
    • center
    • right
  3. background_image_align_vert:
    • top
    • middle
    • bottom

The defaults are stretch_and_fill, center and center. This is the behavior that terminator has right now with images.

Vulcalien added 3 commits February 14, 2023 15:13
stretch_and_fill, scale_and_fit, scale_and_crop, tiling
background_image_align_horiz: left, center, right
background_image_align_vert: top, middle, bottom
@Vulcalien Vulcalien added the enhancement New feature or request label Feb 14, 2023
@mattrose
Copy link
Copy Markdown
Member

Thanks for this. I'll pull it in and give it a once over

@mattrose
Copy link
Copy Markdown
Member

mattrose commented Mar 1, 2023

I love it! Merged!

@mattrose mattrose merged commit b0f4463 into gnome-terminator:master Mar 1, 2023
@Vulcalien Vulcalien deleted the bg-image-draw-modes branch March 10, 2023 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

background image - respect ratio

2 participants