projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0268650
)
Uncommited changes synced
author
Alan Knowles
<alan@roojs.com>
Mon, 24 Dec 2018 07:40:59 +0000
(15:40 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 24 Dec 2018 07:40:59 +0000
(15:40 +0800)
Clones.bjs
patch
|
blob
|
history
Clones.vala
patch
|
blob
|
history
diff --git
a/Clones.bjs
b/Clones.bjs
index
52d7d92
..
30e9f78
100644
(file)
--- a/
Clones.bjs
+++ b/
Clones.bjs
@@
-31,9
+31,11
@@
"items" : [
{
"id" : "spinner",
"items" : [
{
"id" : "spinner",
- "* pack" : "pack_start,false,false,0",
+ "bool hexpand" : true,
+ "* pack" : "add",
"xtype" : "Spinner",
"xtype" : "Spinner",
- "$ xns" : "Gtk"
+ "$ xns" : "Gtk",
+ "bool vexpand" : true
},
{
"id" : "toolbar",
},
{
"id" : "toolbar",
diff --git
a/Clones.vala
b/Clones.vala
index
e40ff4b
..
b152f76
100644
(file)
--- a/
Clones.vala
+++ b/
Clones.vala
@@
-149,7
+149,7
@@
public class Clones : Object
// set gobject values
var child_0 = new Xcls_spinner( _this );
child_0.ref();
// set gobject values
var child_0 = new Xcls_spinner( _this );
child_0.ref();
- this.el.
pack_start ( child_0.el , false,false,0
);
+ this.el.
add ( child_0.el
);
var child_1 = new Xcls_toolbar( _this );
child_1.ref();
this.el.pack_start ( child_1.el , false,false,0 );
var child_1 = new Xcls_toolbar( _this );
child_1.ref();
this.el.pack_start ( child_1.el , false,false,0 );
@@
-178,6
+178,8
@@
public class Clones : Object
// my vars (dec)
// set gobject values
// my vars (dec)
// set gobject values
+ this.el.hexpand = true;
+ this.el.vexpand = true;
}
// user defined functions
}
// user defined functions