Modify stretch background image functionality (#198)

* Modify stretch background image functionality

Changes the stretch functionality to fill out
the playlist background completely by zooming
the image (if keep aspect ratio is selected)
instead of filling it only height-wise.

* Add option to keep old background fill

* Fix playlist background image width and height

* Fix width calculation

* Remove old calculations
This commit is contained in:
m4x3t
2019-06-30 19:37:05 +02:00
committed by Jonas Kvinge
parent 1185b910c4
commit bcfd1d39bb
5 changed files with 47 additions and 14 deletions

View File

@@ -268,6 +268,13 @@
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="checkbox_background_image_do_not_cut">
<property name="text">
<string>Do not cut image</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="checkbox_background_image_keep_aspect_ratio">
<property name="text">