edc: Also fix frame and button offsets

Since SHADOW adds one pixel padding, the whole object size
was calculated with one extra pixel. Let's add it back
to keep the overall visual balance of buttons.

A few other widgets might visually change after the edje
padding fix:

- Check (looks better)
- Naviframe (smaller height)
- E date widget
- ...

But I did not see anything "weird" that needs fixing.
This commit is contained in:
Jean-Philippe Andre 2014-05-13 17:54:03 +09:00
parent 7371dbe60b
commit 00d6ccf730
2 changed files with 6 additions and 6 deletions

View File

@ -153,7 +153,7 @@ group { name: "elm/button/base/default";
rel1.relative: 1.0 0.0;
rel1.to_x: "elm.swallow.content";
rel1.to_y: "base";
rel2.offset: -7 -7;
rel2.offset: -7 -8;
rel2.to: "base";
color_class: "button_text";
color3: 255 255 255 255;
@ -806,7 +806,7 @@ group { name: "elm/button/base/hoversel_vertical/default";
rel1.to_y: "base";
rel2.to_y: "base";
rel2.to_x: "select_line";
rel2.offset: -2 -7;
rel2.offset: -2 -8;
rel2.relative: 0.0 1.0;
text.text_class: "hoversel";
text.ellipsis: -1;
@ -1059,7 +1059,7 @@ group { name: "elm/button/base/hoversel_vertical_entry/default";
rel1.relative: 1.0 0.0;
rel1.to_x: "elm.swallow.content";
rel1.to_y: "base";
rel2.offset: -7 -7;
rel2.offset: -7 -8;
rel2.to: "base";
color_class: "hoversel_text";
color3: 255 255 255 255;

View File

@ -66,7 +66,7 @@ group { name: "elm/frame/base/default";
rel1.offset: 1 2;
rel1.to_x: "edge1";
rel2.relative: 0.0 0.0;
rel2.offset: -2 2;
rel2.offset: -2 1;
rel2.to_x: "edge2";
align: 0.0 0.0;
color: FN_COL_DISABLE;
@ -83,7 +83,7 @@ group { name: "elm/frame/base/default";
rel1.relative: 0.0 1.0;
rel1.offset: 5 0;
rel1.to_y: "elm.text";
rel2.offset: -6 -6;
rel2.offset: -6 -7;
}
}
part { name: "elm.swallow.content"; type: SWALLOW;
@ -93,7 +93,7 @@ group { name: "elm/frame/base/default";
rel1.relative: 0.0 1.0;
rel1.offset: 5 0;
rel1.to_y: "elm.text";
rel2.offset: -6 -6;
rel2.offset: -6 -7;
}
description { state: "collapsed" 0.0;
inherit: "default" 0.0;