0
|
1 widget ScrollView {
|
|
2 layout = HBox;
|
|
3
|
|
4 //[hexpand vexpand hfill vfill] new HBox {
|
|
5 [hexpand vexpand hfill vfill] new VBox {
|
|
6 [hexpand vexpand hfill vfill] new ClipView clipView {
|
|
7 }
|
|
8
|
|
9 [hexpand hfill] new HScrollbar hscroll;
|
|
10 }
|
|
11
|
|
12 [vexpand vfill] new VBox {
|
|
13 [vexpand vfill] new VScrollbar vscroll;
|
|
14
|
|
15 new Graphic corner {
|
|
16 size = 17 17;
|
|
17 }
|
|
18 }
|
|
19 //}
|
|
20
|
|
21 hscroll = sub(hscroll);
|
|
22 vscroll = sub(vscroll);
|
|
23 clipView = sub(clipView);
|
|
24 corner = sub(corner);
|
|
25
|
|
26 children = sub(clipView);
|
|
27 }
|