Add combo_item widget, custom layout for the combo is working again.

This commit is contained in:
Jaime Thomas
2008-12-24 18:59:22 +00:00
parent ae938125cf
commit 5ee6ba6380
7 changed files with 99 additions and 35 deletions

View File

@ -1,7 +1,12 @@
/* vim: set sw=3 ts=3 sts=3 expandtab: */
group {
name: "ecdb/button";
min: 50 30;
alias: "ecdb/combo_item";
data {
item: "ecdb/combo_item/minw" 50;
item: "ecdb/combo_item/minh" 30;
}
parts {
part {

View File

@ -394,12 +394,12 @@ group {
}
rel2 {
relative: 1.0 1.0;
relative: 1.0 0.0;
offset: -1 -1;
}
box {
layout: "vertical";
layout: "min_size";
padding: 0 2;
align: 0.0 0.5;
}
@ -409,6 +409,16 @@ group {
state: "active" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
rel1 {
relative: 0.0 0.0;
offset: 0 0;
}
rel2 {
relative: 1.0 1.0;
offset: -1 -1;
}
}
}
}