[recipes] Fix up some layout issues on the details page
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [recipes] Fix up some layout issues on the details page
- Date: Mon, 12 Dec 2016 22:07:51 +0000 (UTC)
commit 59be4487340a282695e64901f51536d84b6497f1
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Dec 12 16:35:29 2016 -0500
Fix up some layout issues on the details page
We need to make our long labels wrap, or the page will grow
infinitely wide.
src/gr-details-page.ui | 16 +++++++++++++---
1 files changed, 13 insertions(+), 3 deletions(-)
---
diff --git a/src/gr-details-page.ui b/src/gr-details-page.ui
index 5c4d832..603e345 100644
--- a/src/gr-details-page.ui
+++ b/src/gr-details-page.ui
@@ -205,6 +205,7 @@ followed</property>
<property name="visible">1</property>
<property name="label" translatable="yes">Description:</property>
<property name="xalign">0</property>
+ <property name="valign">start</property>
</object>
<packing>
<property name="left-attach">1</property>
@@ -215,6 +216,9 @@ followed</property>
<object class="GtkLabel" id="description_label">
<property name="visible">1</property>
<property name="xalign">0</property>
+ <property name="wrap">1</property>
+ <property name="width-chars">30</property>
+ <property name="max-width-chars">30</property>
</object>
<packing>
<property name="left-attach">2</property>
@@ -290,7 +294,7 @@ followed</property>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">6</property>
- <property name="width">2</property>
+ <property name="width">3</property>
</packing>
</child>
<child>
@@ -308,11 +312,14 @@ followed</property>
<object class="GtkLabel" id="instructions_label">
<property name="visible">1</property>
<property name="xalign">0</property>
+ <property name="wrap">1</property>
+ <property name="width-chars">30</property>
+ <property name="max-width-chars">30</property>
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">8</property>
- <property name="width">2</property>
+ <property name="width">3</property>
</packing>
</child>
<child>
@@ -330,11 +337,14 @@ followed</property>
<object class="GtkLabel" id="notes_label">
<property name="visible">1</property>
<property name="xalign">0</property>
+ <property name="wrap">1</property>
+ <property name="width-chars">30</property>
+ <property name="max-width-chars">30</property>
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">10</property>
- <property name="width">2</property>
+ <property name="width">3</property>
</packing>
</child>
<child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]