[gnome-photos] Center widgetry in devices buttons
- From: Bilal Elmoussaoui <bilelmoussaoui src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos] Center widgetry in devices buttons
- Date: Sat, 22 Jan 2022 09:37:50 +0000 (UTC)
commit d2d065174ad0bc85122d409e2ab838911fba5f15
Author: Maximiliano Sandoval R <msandova gnome org>
Date: Fri Jan 21 18:45:08 2022 +0100
Center widgetry in devices buttons
src/photos-removable-device-widget.ui | 3 +--
src/photos-removable-devices-button.ui | 3 +--
2 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/photos-removable-device-widget.ui b/src/photos-removable-device-widget.ui
index cfb9a526..6f807e55 100644
--- a/src/photos-removable-device-widget.ui
+++ b/src/photos-removable-device-widget.ui
@@ -20,18 +20,17 @@
<template class="PhotosRemovableDeviceWidget" parent="GtkBin">
<child>
<object class="GtkGrid">
+ <property name="valign">GTK_ALIGN_CENTER</property>
<property name="column-spacing">12</property>
<child>
<object class="GtkImage" id="image">
<property name="use-fallback">1</property>
- <property name="valign">GTK_ALIGN_CENTER</property>
</object>
</child>
<child>
<object class="GtkLabel" id="label">
<property name="ellipsize">PANGO_ELLIPSIZE_END</property>
<property name="max-width-chars">24</property>
- <property name="valign">GTK_ALIGN_CENTER</property>
</object>
</child>
</object>
diff --git a/src/photos-removable-devices-button.ui b/src/photos-removable-devices-button.ui
index 1299abea..9b524289 100644
--- a/src/photos-removable-devices-button.ui
+++ b/src/photos-removable-devices-button.ui
@@ -42,10 +42,10 @@
<object class="GtkGrid">
<property name="column-spacing">12</property>
<property name="visible">1</property>
+ <property name="valign">GTK_ALIGN_CENTER</property>
<child>
<object class="GtkLabel">
<property name="label" translatable="yes">Devices</property>
- <property name="valign">GTK_ALIGN_CENTER</property>
<property name="visible">1</property>
</object>
</child>
@@ -53,7 +53,6 @@
<object class="GtkImage">
<property name="icon-name">pan-down-symbolic</property>
<property name="pixel-size">16</property>
- <property name="valign">GTK_ALIGN_CENTER</property>
<property name="visible">1</property>
</object>
</child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]