forked from enlightenment/enventor
lib/liveview: clip the content if it's over the maximum view size.
This commit is contained in:
parent
caeec62fdb
commit
1cd13a93f9
|
@ -1450,6 +1450,13 @@ group { name: "live_edit_layout";
|
||||||
|
|
||||||
group { name: "viewer_layout_bg";
|
group { name: "viewer_layout_bg";
|
||||||
parts {
|
parts {
|
||||||
|
part { name: "clipper";
|
||||||
|
type: RECT;
|
||||||
|
description { state: "default" 0.0;
|
||||||
|
rel1.to: "bg";
|
||||||
|
rel2.to: "bg";
|
||||||
|
}
|
||||||
|
}
|
||||||
part { name: "bg";
|
part { name: "bg";
|
||||||
type: IMAGE;
|
type: IMAGE;
|
||||||
description { state: "default" 0.0;
|
description { state: "default" 0.0;
|
||||||
|
@ -1464,6 +1471,7 @@ group { name: "viewer_layout_bg";
|
||||||
}
|
}
|
||||||
part { name: "elm.swallow.content";
|
part { name: "elm.swallow.content";
|
||||||
type: SWALLOW;
|
type: SWALLOW;
|
||||||
|
clip_to: "clipper";
|
||||||
description { state: "default" 0.0;
|
description { state: "default" 0.0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue