Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Background image drawing modes and alignment #713

Merged
merged 3 commits into from
Mar 1, 2023

Conversation

Vulcalien
Copy link
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.

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
Member

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

@mattrose
Copy link
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