forked from enlightenment/efl
theme: Fix 1 pixel offset and hide clipped regions
Thanks @raster for pointing this out: title bar and menu bar were resized down to 1 pixel high rather than 0. This meant that all CSD windows would see a 1-pixel line between the title bar and the app content, while SSD windows would see a 2-pixel line. Also clip out the icon, this makes a 1x1 pixel disappear from the top-left corner.
This commit is contained in:
parent
6d530356b0
commit
8c06c47301
|
@ -35,7 +35,6 @@ group { name: "elm/border/base/default";
|
|||
spacer { "elm.spacer.opaque";
|
||||
desc {
|
||||
rel1.to: "top_clip";
|
||||
rel1.offset: 0 -1;
|
||||
rel2.to: "bottom_clip";
|
||||
}
|
||||
desc { "max"; inherit: "default"; }
|
||||
|
@ -165,13 +164,14 @@ group { name: "elm/border/base/default";
|
|||
rel1.to: "shadow_spacer";
|
||||
rel2.to_y: "title2";
|
||||
rel2.to_x: "shadow_spacer";
|
||||
rel2.offset: -1 0;
|
||||
vis;
|
||||
}
|
||||
desc { "hidden";
|
||||
inherit: "default";
|
||||
rel1.relative: 0.0 0.0;
|
||||
rel2.to: "shadow_spacer";
|
||||
rel2.relative: 1.0 0.0;
|
||||
rel2.offset: -1 -1;
|
||||
max: -1 0;
|
||||
min: 0 0;
|
||||
fixed: 0 1;
|
||||
|
@ -279,6 +279,7 @@ group { name: "elm/border/base/default";
|
|||
}
|
||||
}
|
||||
swallow { "elm.swallow.icon"; nomouse;
|
||||
clip_to: "top_clip";
|
||||
desc { "default";
|
||||
rel1.to: "icon";
|
||||
rel1.relative: 0.15 0.15;
|
||||
|
|
Loading…
Reference in New Issue