[gnome-nibbles] Fix packing issues with first run screen when resizing window
- From: Iulian Radu <iulianradu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-nibbles] Fix packing issues with first run screen when resizing window
- Date: Mon, 26 Oct 2015 00:16:53 +0000 (UTC)
commit 436aae2cd724633e1bfaa72b87801d11fbe8a3c3
Author: Iulian Radu <iulian radu67 gmail com>
Date: Sun Jul 12 18:16:06 2015 +0300
Fix packing issues with first run screen when resizing window
data/nibbles.ui | 85 +++++++++++++++++++++++++++++-------------------------
1 files changed, 46 insertions(+), 39 deletions(-)
---
diff --git a/data/nibbles.ui b/data/nibbles.ui
index d826747..7377d2b 100644
--- a/data/nibbles.ui
+++ b/data/nibbles.ui
@@ -22,53 +22,16 @@
<object class="GtkBox" id="first_run">
<property name="visible">True</property>
<property name="orientation">vertical</property>
- <property name="halign">center</property>
- <property name="valign">center</property>
- <property name="homogeneous">True</property>
- <property name="margin">0</property>
<property name="width-request">350</property>
<property name="height-request">350</property>
<child>
- <object class="GtkImage">
- <property name="visible">True</property>
- <property name="icon-name">gnome-nibbles</property>
- <property name="icon-size">6</property> <!-- DIALOG -->
- <property name="pixel-size">96</property>
- <property name="valign">2</property>
- </object>
- <packing>
- <property name="pack-type">start</property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel">
- <property name="visible">True</property>
- <property name="label" translatable="yes">Welcome, worms.</property>
- <style><class name="title"/></style>
- </object>
- <packing>
- <property name="pack-type">start</property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel">
- <property name="visible">True</property>
- <property name="label" translatable="yes">Eat the treats before the
other worms, but don't hit anything!</property>
- <property name="valign">1</property> <!-- START -->
- <style><class name="tip"/></style>
- </object>
- <packing>
- <property name="pack-type">start</property>
- </packing>
- </child>
- <child>
<object class="GtkButton" id="new_game_button">
<property name="visible">True</property>
<property name="use-underline">True</property>
<property name="label" translatable="yes">Let's _Play</property>
<property name="action-name">app.show-new-game-screen</property>
- <property name="halign">3</property>
- <property name="valign">3</property>
+ <property name="halign">center</property>
+ <property name="valign">end</property>
<property name="width-request">140</property>
<property name="height-request">40</property>
<style>
@@ -80,6 +43,50 @@
<property name="pack-type">end</property>
</packing>
</child>
+ <child>
+ <object class="GtkBox">
+ <property name="visible">True</property>
+ <property name="orientation">vertical</property>
+ <property name="homogeneous">True</property>
+ <property name="valign">center</property>
+ <property name="vexpand">True</property>
+ <child>
+ <object class="GtkImage">
+ <property name="visible">True</property>
+ <property name="icon-name">gnome-nibbles</property>
+ <property name="icon-size">6</property> <!-- DIALOG -->
+ <property name="pixel-size">96</property>
+ </object>
+ <packing>
+ <property name="pack-type">start</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Welcome,
worms.</property>
+ <style><class name="title"/></style>
+ </object>
+ <packing>
+ <property name="pack-type">start</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Eat the treats
before the other worms, but don't hit anything!</property>
+ <property name="valign">1</property> <!-- START -->
+ <style><class name="tip"/></style>
+ </object>
+ <packing>
+ <property name="pack-type">start</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="pack-type">end</property>
+ </packing>
+ </child>
</object>
<packing>
<property name="name">first_run</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]