[gnome-software: 1/2] Align listboxes to the top
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software: 1/2] Align listboxes to the top
- Date: Wed, 6 Oct 2021 11:40:18 +0000 (UTC)
commit 18f325c49628111fe8fb2d9f9f5a793f14321315
Author: Adrien Plazas <kekun plazas laposte net>
Date: Wed Oct 6 13:08:57 2021 +0200
Align listboxes to the top
This avoids them to take the whole window when they are next to empty.
src/gs-app-version-history-dialog.ui | 1 +
src/gs-details-page.ui | 2 ++
src/gs-extras-page.ui | 1 +
src/gs-installed-page.ui | 4 ++++
src/gs-license-tile.ui | 1 +
src/gs-moderate-page.ui | 1 +
src/gs-removal-dialog.ui | 1 +
src/gs-search-page.ui | 1 +
src/gs-updates-section.ui | 1 +
9 files changed, 13 insertions(+)
---
diff --git a/src/gs-app-version-history-dialog.ui b/src/gs-app-version-history-dialog.ui
index b64358f08..3df820af3 100644
--- a/src/gs-app-version-history-dialog.ui
+++ b/src/gs-app-version-history-dialog.ui
@@ -32,6 +32,7 @@
<object class="GtkListBox" id="listbox">
<property name="visible">True</property>
<property name="selection-mode">none</property>
+ <property name="valign">start</property>
<style>
<class name="content"/>
</style>
diff --git a/src/gs-details-page.ui b/src/gs-details-page.ui
index 04b106bd2..673ffea3d 100644
--- a/src/gs-details-page.ui
+++ b/src/gs-details-page.ui
@@ -916,6 +916,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="selection_mode">none</property>
+ <property name="valign">start</property>
<style>
<class name="review-listbox"/>
</style>
@@ -1041,6 +1042,7 @@
<object class="GtkListBox" id="origin_popover_list_box">
<property name="selection-mode">none</property>
<property name="visible">true</property>
+ <property name="valign">start</property>
<signal name="row-activated" handler="origin_popover_row_activated_cb"/>
<style>
<class name="content"/>
diff --git a/src/gs-extras-page.ui b/src/gs-extras-page.ui
index be5aaf3f7..333c09686 100644
--- a/src/gs-extras-page.ui
+++ b/src/gs-extras-page.ui
@@ -64,6 +64,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="selection_mode">none</property>
+ <property name="valign">start</property>
</object>
</child>
<child>
diff --git a/src/gs-installed-page.ui b/src/gs-installed-page.ui
index e7490d105..7c2fc7b44 100644
--- a/src/gs-installed-page.ui
+++ b/src/gs-installed-page.ui
@@ -64,6 +64,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="selection_mode">none</property>
+ <property name="valign">start</property>
<signal name="row-activated"
handler="gs_installed_page_app_row_activated_cb"/>
<style>
<class name="content"/>
@@ -84,6 +85,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="selection_mode">none</property>
+ <property name="valign">start</property>
<signal name="row-activated"
handler="gs_installed_page_app_row_activated_cb"/>
<style>
<class name="content"/>
@@ -104,6 +106,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="selection_mode">none</property>
+ <property name="valign">start</property>
<signal name="row-activated"
handler="gs_installed_page_app_row_activated_cb"/>
<style>
<class name="content"/>
@@ -124,6 +127,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="selection_mode">none</property>
+ <property name="valign">start</property>
<signal name="row-activated"
handler="gs_installed_page_app_row_activated_cb"/>
<style>
<class name="content"/>
diff --git a/src/gs-license-tile.ui b/src/gs-license-tile.ui
index 026e3b04d..ad7986eae 100644
--- a/src/gs-license-tile.ui
+++ b/src/gs-license-tile.ui
@@ -6,6 +6,7 @@
<child>
<object class="GtkListBox">
<property name="selection_mode">none</property>
+ <property name="valign">start</property>
<signal name="row-activated" handler="gs_license_tile_row_activated_cb"/>
<style>
<class name="content"/>
diff --git a/src/gs-moderate-page.ui b/src/gs-moderate-page.ui
index 981ec822b..3cbf65c1e 100644
--- a/src/gs-moderate-page.ui
+++ b/src/gs-moderate-page.ui
@@ -51,6 +51,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="selection_mode">none</property>
+ <property name="valign">start</property>
</object>
</child>
</object>
diff --git a/src/gs-removal-dialog.ui b/src/gs-removal-dialog.ui
index 6efb77bca..d7c2d25f3 100644
--- a/src/gs-removal-dialog.ui
+++ b/src/gs-removal-dialog.ui
@@ -78,6 +78,7 @@
<property name="valign">start</property>
<property name="visible">True</property>
<property name="selection_mode">none</property>
+ <property name="valign">start</property>
<style>
<class name="content" />
</style>
diff --git a/src/gs-search-page.ui b/src/gs-search-page.ui
index 6f0d2199e..44f8fddc6 100644
--- a/src/gs-search-page.ui
+++ b/src/gs-search-page.ui
@@ -77,6 +77,7 @@
<property name="margin-bottom">36</property>
<property name="margin-start">12</property>
<property name="margin-end">12</property>
+ <property name="valign">start</property>
<style>
<class name="section"/>
<class name="content"/>
diff --git a/src/gs-updates-section.ui b/src/gs-updates-section.ui
index 16fa7e179..9f3863fdb 100644
--- a/src/gs-updates-section.ui
+++ b/src/gs-updates-section.ui
@@ -103,6 +103,7 @@
<object class="GtkListBox" id="listbox">
<property name="selection_mode">none</property>
<property name="visible">True</property>
+ <property name="valign">start</property>
<signal name="row-activated" handler="_app_row_activated_cb" swapped="yes"/>
<signal name="keynav-failed" handler="_listbox_keynav_failed_cb" swapped="yes"/>
<style>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]