diff --git a/data/themes/ephoto/bits/label.edc b/data/themes/ephoto/bits/label.edc index 8746fe8..9381634 100644 --- a/data/themes/ephoto/bits/label.edc +++ b/data/themes/ephoto/bits/label.edc @@ -18,7 +18,7 @@ group } description { - state: "blue" 0.0; + state: "colored" 0.0; color: 71 135 195 255; } } @@ -55,7 +55,7 @@ group } description { - state: "blue" 0.0; + state: "colored" 0.0; inherit: "default" 0.0; text { @@ -73,10 +73,10 @@ group { program { - name: "blue"; - signal: "blue"; + name: "colored"; + signal: "colored"; source: "*"; - action: STATE_SET "blue" 0.0; + action: STATE_SET "colored" 0.0; target: "background"; target: "/ephoto/label/text"; } diff --git a/src/bin/ephoto_normal_view.c b/src/bin/ephoto_normal_view.c index 63f0698..0df8ae7 100644 --- a/src/bin/ephoto_normal_view.c +++ b/src/bin/ephoto_normal_view.c @@ -22,6 +22,8 @@ Ewl_Widget *add_normal_view(Ewl_Widget *c) ewl_widget_show(em->fbox); em->ilabel = add_label(em->fbox_vbox, "Image Information"); + ewl_object_fill_policy_set(EWL_OBJECT(em->ilabel), EWL_FLAG_FILL_HFILL); + ewl_widget_state_set(em->ilabel, "colored", EWL_STATE_PERSISTENT); return em->fbox_vbox; }