view themes/default/ScrollView.cfg @ 0:c10bc63824e7

Initial commit!
author zzzzrrr <mason.green@gmail.com>
date Fri, 20 Mar 2009 06:41:25 -0400
parents
children
line wrap: on
line source

widget ScrollView {
	layout = HBox;
	
	//[hexpand vexpand hfill vfill] new HBox {
		[hexpand vexpand hfill vfill] new VBox {
			[hexpand vexpand hfill vfill] new ClipView clipView {
			}
			
			[hexpand hfill] new HScrollbar hscroll;
		}
		
		[vexpand vfill] new VBox {
			[vexpand vfill] new VScrollbar vscroll;
			
			new Graphic corner {
				size = 17 17;
			}
		}
	//}
	
	hscroll = sub(hscroll);
	vscroll = sub(vscroll);
	clipView = sub(clipView);
	corner = sub(corner);
	
	children = sub(clipView);
}