[gtk+/wip/baedert/drawing: 314/396] testbaseline: Add a horizontal spinbutton
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/drawing: 314/396] testbaseline: Add a horizontal spinbutton
- Date: Wed, 19 Jul 2017 11:36:46 +0000 (UTC)
commit 8fc73d1978d1cdf68d3db4829275f99d1f14a4dc
Author: Timm Bäder <mail baedert org>
Date: Tue Jun 27 14:36:29 2017 +0200
testbaseline: Add a horizontal spinbutton
tests/testbaseline.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/tests/testbaseline.c b/tests/testbaseline.c
index 5c9b77f..9dd5358 100644
--- a/tests/testbaseline.c
+++ b/tests/testbaseline.c
@@ -133,6 +133,10 @@ main (int argc,
gtk_orientable_set_orientation (GTK_ORIENTABLE (spin), GTK_ORIENTATION_VERTICAL);
gtk_widget_set_valign (spin, aligns[j]);
gtk_container_add (GTK_CONTAINER (hbox), spin);
+
+ spin = gtk_spin_button_new (NULL, 0, 1);
+ gtk_widget_set_valign (spin, aligns[j]);
+ gtk_container_add (GTK_CONTAINER (hbox), spin);
}
grid_hbox = hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 10);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]