diff themes/default/Combo.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 diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/themes/default/Combo.cfg	Fri Mar 20 06:41:25 2009 -0400
@@ -0,0 +1,39 @@
+widget Combo {
+	layout = VBox;
+	size = 100 0;
+	
+	[hexpand hfill] new HBox {
+		[hexpand hfill] new Input input {
+			size = 80 0;
+		}
+		
+		[vexpand vfill] new ScrollbarButton button {
+			arrowDir = 3;
+		}
+	}
+	
+	
+	new HBox popup {
+		[hexpand hfill vexpand vfill] new ScrollView {
+			children.useChildSize = 1;
+			
+			[hexpand hfill vexpand vfill] new VBox {
+				shape = Rectangle;
+				style.normal = {
+					background = solid(rgba(.1, .1, .1, .8));
+					border = 1 rgba(.4, .4, .4, .7);
+				}
+				layout = {
+					padding = 1 1;
+				}
+
+				[hexpand hfill vexpand vfill] new TextList textList;			
+			}
+		}
+	}
+	
+	input = sub(input);
+	popup = sub(popup);
+	button = sub(button);
+	textList = sub(popup.textList);
+}