[gnome-builder] libide/gui: use content-fit=fill for wallpaper
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] libide/gui: use content-fit=fill for wallpaper
- Date: Thu, 22 Sep 2022 05:28:07 +0000 (UTC)
commit 5ae87f1e89852d999b922e197bd425706bd58adf
Author: Christian Hergert <chergert redhat com>
Date: Wed Sep 21 22:28:02 2022 -0700
libide/gui: use content-fit=fill for wallpaper
I have no idea why a Fedora 37 VM gets some extra space when this grows,
but this might be a better way to ensure that it ends up right rather than
the deprecated property (which was not deprecated mid-cycle when this code
was written).
src/libide/gui/ide-style-variant-preview.ui | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libide/gui/ide-style-variant-preview.ui b/src/libide/gui/ide-style-variant-preview.ui
index 2df9e4867..0a5e8f8b3 100644
--- a/src/libide/gui/ide-style-variant-preview.ui
+++ b/src/libide/gui/ide-style-variant-preview.ui
@@ -13,7 +13,7 @@
<property name="overflow">hidden</property>
<child>
<object class="GtkPicture" id="wallpaper">
- <property name="keep-aspect-ratio">false</property>
+ <property name="content-fit">fill</property>
<property name="width-request">164</property>
<property name="height-request">90</property>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]