print: Add height and fill-space options

Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/240>
This commit is contained in:
Sophie Herold 2023-07-02 14:25:07 +02:00 • committed by Christopher Davis
parent d7a77ec498
commit 3dbcce8375
2 changed files with 169 additions and 34 deletions

View file

@ -3,7 +3,6 @@
<template class="LpPrint" parent="AdwWindow">
<property name="default-width">900</property>
<property name="default-height">650</property>
<signal name="notify::orientation" handler="orientation_changed" swapped="yes" />
<child>
<object class="GtkShortcutController">
<property name="scope">managed</property>
@ -151,21 +150,19 @@
</property>
</object>
</property>
<child>
<object class="AdwSwitchRow" id="fill_space">
<property name="title" translatable="yes">Fill Space</property>
</object>
</child>
<child>
<object class="AdwSpinRow" id="width">
<property name="title" translatable="yes">Width</property>
</object>
</child>
<child>
<object class="AdwActionRow">
<property name="title" translatable="yes">Scale</property>
<child>
<object class="GtkLabel" id="scale">
<style>
<class name="dim-label" />
</style>
</object>
</child>
<object class="AdwSpinRow" id="height">
<property name="title" translatable="yes">Height</property>
</object>
</child>
</object>