[hitori: 1/3] data: Expand the drawing area
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [hitori: 1/3] data: Expand the drawing area
- Date: Mon, 13 May 2019 11:16:01 +0000 (UTC)
commit f6c47bc5cde5eaab04e8d10f2e64a94d28c69caa
Author: Jonathan Kang <jonathankang gnome org>
Date: Sun Jan 6 15:30:28 2019 +0800
data: Expand the drawing area
Set the expand property of the drawing area to TRUE so that when you
resize the window, the drawing area can resize accordingly.
This is the ultimate solution to commit d186edd0 and 017f3672.
https://gitlab.gnome.org/GNOME/hitori/issues/3
data/hitori.ui | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/data/hitori.ui b/data/hitori.ui
index a06fe24..6c14c17 100644
--- a/data/hitori.ui
+++ b/data/hitori.ui
@@ -58,7 +58,6 @@
</section>
</menu>
<object class="GtkApplicationWindow" id="hitori_main_window">
- <property name="resizable">False</property>
<signal name="destroy" handler="hitori_destroy_cb"/>
<signal name="window-state-event" handler="hitori_window_state_event_cb"/>
<child type="titlebar">
@@ -170,9 +169,9 @@
<child>
<object class="GtkBox" id="vbox1">
<property name="orientation">vertical</property>
- <property name="valign">center</property>
<child>
<object class="GtkDrawingArea" id="hitori_drawing_area">
+ <property name="expand">True</property>
<property name="valign">fill</property>
<property name="width-request">400</property>
<property name="height-request">400</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]