[gnome-builder/wip/gtk4-port: 935/1774] plugins/buildui: cleanup styling of build panel
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port: 935/1774] plugins/buildui: cleanup styling of build panel
- Date: Mon, 11 Jul 2022 22:31:28 +0000 (UTC)
commit 4a47e26a0bdbd2199a23193be743135a78825a22
Author: Christian Hergert <chergert redhat com>
Date: Mon May 9 18:01:38 2022 -0700
plugins/buildui: cleanup styling of build panel
src/plugins/buildui/buildui.gresource.xml | 1 +
src/plugins/buildui/gbp-buildui-pane.ui | 161 ++++++++++++++-------------
src/plugins/buildui/gbp-buildui-stage-row.ui | 4 +
3 files changed, 87 insertions(+), 79 deletions(-)
---
diff --git a/src/plugins/buildui/buildui.gresource.xml b/src/plugins/buildui/buildui.gresource.xml
index 155bab913..9740f9bba 100644
--- a/src/plugins/buildui/buildui.gresource.xml
+++ b/src/plugins/buildui/buildui.gresource.xml
@@ -7,6 +7,7 @@
<file preprocess="xml-stripblanks">gbp-buildui-omni-bar-section.ui</file>
<file preprocess="xml-stripblanks">gbp-buildui-pane.ui</file>
<file preprocess="xml-stripblanks">gbp-buildui-stage-row.ui</file>
+ <file preprocess="xml-stripblanks">gbp-buildui-targets-dialog.ui</file>
<file preprocess="xml-stripblanks">gtk/menus.ui</file>
</gresource>
</gresources>
diff --git a/src/plugins/buildui/gbp-buildui-pane.ui b/src/plugins/buildui/gbp-buildui-pane.ui
index cf44c3399..1a08e0893 100644
--- a/src/plugins/buildui/gbp-buildui-pane.ui
+++ b/src/plugins/buildui/gbp-buildui-pane.ui
@@ -7,91 +7,94 @@
<object class="PanelPaned">
<property name="orientation">vertical</property>
<child>
- <object class="GtkGrid">
- <property name="margin-top">6</property>
- <property name="margin-bottom">6</property>
- <property name="margin-start">6</property>
- <property name="margin-end">6</property>
- <property name="column-spacing">6</property>
- <property name="row-spacing">6</property>
- <property name="hexpand">false</property>
- <property name="vexpand">false</property>
+ <object class="GtkScrolledWindow">
+ <property name="propagate-natural-height">true</property>
<child>
- <object class="GtkLabel">
- <property name="label" translatable="yes">Build status:</property>
- <property name="xalign">1.0</property>
- <style>
- <class name="dim-label"/>
- </style>
- <attributes>
- <attribute name="scale" value="0.8333"/>
- </attributes>
- <layout>
- <property name="row">0</property>
- <property name="column">0</property>
- </layout>
- </object>
- </child>
- <child>
- <object class="GtkLabel">
- <property name="label" translatable="yes">Time completed:</property>
- <property name="xalign">1.0</property>
- <style>
- <class name="dim-label"/>
- </style>
- <attributes>
- <attribute name="scale" value="0.8333"/>
- </attributes>
- <layout>
- <property name="row">1</property>
- <property name="column">0</property>
- </layout>
- </object>
- </child>
- <child>
- <object class="GtkLabel" id="build_status_label">
- <property name="label" translatable="yes">—</property>
- <property name="hexpand">true</property>
- <property name="xalign">0.0</property>
- <attributes>
- <attribute name="scale" value="0.8333"/>
- </attributes>
- <layout>
- <property name="row">0</property>
- <property name="column">1</property>
- </layout>
- </object>
- </child>
- <child>
- <object class="GtkLabel" id="time_completed_label">
- <property name="label" translatable="yes">—</property>
- <property name="hexpand">true</property>
- <property name="xalign">0.0</property>
- <attributes>
- <attribute name="scale" value="0.8333"/>
- </attributes>
- <layout>
- <property name="row">1</property>
- <property name="column">1</property>
- </layout>
- </object>
- </child>
- <child>
- <object class="GtkExpander">
- <property name="label" translatable="yes">Build Details</property>
- <layout>
- <property name="row">2</property>
- <property name="column">0</property>
- <property name="column-span">2</property>
- </layout>
+ <object class="GtkGrid">
+ <property name="margin-top">6</property>
+ <property name="margin-bottom">6</property>
+ <property name="margin-start">6</property>
+ <property name="margin-end">6</property>
+ <property name="column-spacing">6</property>
+ <property name="row-spacing">6</property>
+ <property name="hexpand">false</property>
+ <property name="vexpand">false</property>
+ <child>
+ <object class="GtkLabel">
+ <property name="label" translatable="yes">Build status:</property>
+ <property name="xalign">1.0</property>
+ <style>
+ <class name="dim-label"/>
+ </style>
+ <attributes>
+ <attribute name="scale" value="0.8333"/>
+ </attributes>
+ <layout>
+ <property name="row">0</property>
+ <property name="column">0</property>
+ </layout>
+ </object>
+ </child>
+ <child>
+ <object class="GtkLabel">
+ <property name="label" translatable="yes">Time completed:</property>
+ <property name="xalign">1.0</property>
+ <style>
+ <class name="dim-label"/>
+ </style>
+ <attributes>
+ <attribute name="scale" value="0.8333"/>
+ </attributes>
+ <layout>
+ <property name="row">1</property>
+ <property name="column">0</property>
+ </layout>
+ </object>
+ </child>
+ <child>
+ <object class="GtkLabel" id="build_status_label">
+ <property name="label" translatable="yes">—</property>
+ <property name="hexpand">true</property>
+ <property name="xalign">0.0</property>
+ <attributes>
+ <attribute name="scale" value="0.8333"/>
+ </attributes>
+ <layout>
+ <property name="row">0</property>
+ <property name="column">1</property>
+ </layout>
+ </object>
+ </child>
+ <child>
+ <object class="GtkLabel" id="time_completed_label">
+ <property name="label" translatable="yes">—</property>
+ <property name="hexpand">true</property>
+ <property name="xalign">0.0</property>
+ <attributes>
+ <attribute name="scale" value="0.8333"/>
+ </attributes>
+ <layout>
+ <property name="row">1</property>
+ <property name="column">1</property>
+ </layout>
+ </object>
+ </child>
<child>
- <object class="GtkScrolledWindow">
- <property name="propagate-natural-height">true</property>
+ <object class="AdwPreferencesGroup">
+ <property name="title" translatable="yes">Build Pipeline</property>
+ <layout>
+ <property name="row">2</property>
+ <property name="column">0</property>
+ <property name="column-span">2</property>
+ </layout>
<child>
<object class="GtkListBox" id="stages_list_box">
+ <property name="margin-bottom">6</property>
+ <property name="margin-start">6</property>
+ <property name="margin-end">6</property>
<property name="selection-mode">none</property>
<style>
- <class name="background"/>
+ <class name="boxed-list"/>
</style>
<child type="placeholder">
<object class="GtkLabel">
diff --git a/src/plugins/buildui/gbp-buildui-stage-row.ui b/src/plugins/buildui/gbp-buildui-stage-row.ui
index 4931ddef3..1408292fa 100644
--- a/src/plugins/buildui/gbp-buildui-stage-row.ui
+++ b/src/plugins/buildui/gbp-buildui-stage-row.ui
@@ -6,6 +6,10 @@
<property name="orientation">horizontal</property>
<child>
<object class="GtkLabel" id="label">
+ <property name="margin-top">6</property>
+ <property name="margin-bottom">6</property>
+ <property name="margin-start">9</property>
+ <property name="margin-bottom">9</property>
<property name="xalign">0.0</property>
</object>
</child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]