TH - e textblock

This commit is contained in:
Carsten Haitzler 2019-05-09 18:08:50 +01:00
parent 92c3f1ce95
commit d8e15e0606
1 changed files with 5 additions and 4 deletions

View File

@ -1,11 +1,11 @@
group { name: "e/widgets/textblock";
styles {
style { name: "textblock_style";
base: "font="FN" font_size=10 text_class=tb_plain align=left color=#ffff style=shadow,bottom shadow_color=#00000080 wrap=word";
base: "font="FN" font_size=10 text_class=tb_plain align=left color=#a0a0a0 wrap=word";
tag: "br" "\n";
tag: "b" "+ font="FNBD"";
tag: "hilight" "+ font="FNBD" text_class=tb_light";
tag: "urgent" "+ font="FNBD" color=#f40f style=outline outline_color=#ff000080";
tag: "urgent" "+ font="FNBD" color=#f40f";
tag: "title" "+ font="FNBD" font_size=16 underline=on underline_color=#3399ff";
}
}
@ -13,13 +13,14 @@ group { name: "e/widgets/textblock";
part { name: "e.textblock.text"; type: TEXTBLOCK; mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
rel1.offset: 2 2;
rel2.offset: -3 -3;
rel1.offset: 4 4;
rel2.offset: -5 -5;
text {
style: "textblock_style";
min: 1 1;
ellipsis: -1;
}
offscale;
}
}
}