propertiesView: Do not propagate natural height

Propagating the height resulted in new window dimensions not
fitting to images.
Use ScrolledWindow instead of PreferencesPage to have
control over propagate-natural-height.
This commit is contained in:
Christopher Davis 2023-01-22 14:21:38 -05:00 • committed by Christopher Davis
parent ce1cb0d299
commit 0d74083cf8

View file

@ -3,7 +3,15 @@
<template class="LpPropertiesView" parent="AdwBin"> <template class="LpPropertiesView" parent="AdwBin">
<property name="width-request">255</property> <property name="width-request">255</property>
<property name="child"> <property name="child">
<object class="AdwPreferencesPage"> <object class="GtkScrolledWindow">
<property name="child">
<object class="GtkBox">
<property name="orientation">vertical</property>
<property name="spacing">24</property>
<property name="margin-top">24</property>
<property name="margin-bottom">24</property>
<property name="margin-start">12</property>
<property name="margin-end">12</property>
<child> <child>
<object class="AdwPreferencesGroup"> <object class="AdwPreferencesGroup">
<child> <child>
@ -262,11 +270,13 @@
<class name="property"/> <class name="property"/>
</style> </style>
</object> </object>
</child>--> </child>
</object> </object>
</child> </child>
</object> </object>
</property> </property>
</object>
</property>
</template> </template>
</interface> </interface>