image_view: Make space for always on scrollbars

Increase the margin of the overlay if scrollbars are set to always
visible.

Fixes #528
This commit is contained in:
Sophie Herold 2025-12-04 21:22:07 +01:00
parent 89b4e7a082
commit f2dbee5ef8
6 changed files with 34 additions and 19 deletions

View file

@ -14,10 +14,6 @@
<object class="GtkBox" id="controls_box_start">
<property name="valign">end</property>
<property name="halign">start</property>
<property name="margin-start">18</property>
<property name="margin-end">18</property>
<property name="margin-top">18</property>
<property name="margin-bottom">18</property>
<property name="spacing">6</property>
<style>
<class name="osd-box" />
@ -52,10 +48,6 @@
<object class="GtkBox" id="controls_box_end">
<property name="valign">end</property>
<property name="halign">end</property>
<property name="margin-start">18</property>
<property name="margin-end">18</property>
<property name="margin-top">18</property>
<property name="margin-bottom">18</property>
<style>
<class name="osd-box" />
</style>