diff options
Diffstat (limited to 'res/widgets/gengrid_gallery.edc')
-rw-r--r-- | res/widgets/gengrid_gallery.edc | 156 |
1 files changed, 156 insertions, 0 deletions
diff --git a/res/widgets/gengrid_gallery.edc b/res/widgets/gengrid_gallery.edc new file mode 100644 index 0000000..f76a522 --- /dev/null +++ b/res/widgets/gengrid_gallery.edc @@ -0,0 +1,156 @@ +/* + * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved + * + * Licensed under the Apache License, Version 2.0 (the License); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an AS IS BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +group { + name, "elm/gengrid/item/style.gallery/default"; + inherit, "elm/gengrid/item/style.base/default"; + parts { + part { + name, "padding.bottom.right"; + type, SPACER; + scale, 1; + description { + state, "default" 0.0; + min, 6 6; + } + } + + part { + name, "text.bg"; + type, RECT; + scale, 1; + description { + state, "default" 0.0; + visible, 0; + } + description { + state, "focused" 0.0; + inherit, "default" 0.0; + } + } + + part { + name, "elm.swallow.icon"; + type, SWALLOW; + scale, 1; + description { + state, "default" 0.0; + min, 200 200; + } + } + + part { + name, "padding.elm.text"; + type, SPACER; + scale, 1; + description { + state, "default" 0.0; + min, 12 12; + rel1.to, "padding.bottom.right"; + rel2 { + to, "padding.bottom.right"; + relative, 0.0 0.0; + } + align, 1.0 1.0; + fixed, 1 1; + } + } + + part { + name, "elm.text"; + type, TEXT; + scale, 1; + description { + state, "default" 0.0; + color, 255 255 255 255; + min, 74 24; + rel1 { + to, "padding.elm.text"; + relative, 0.0 0.0; + } + rel2 { + to, "padding.elm.text"; + relative, 0.0 0.0; + } + align, 1.0 1.0; + text { + size, 24; + align, 1.0 0.5; + } + } + } + + part { + name, "part.focus.up"; + type, RECT; + scale, 1; + description { + state, "default" 0.0; + min, 200 3; + } + description { + state, "focused" 0.0; + inherit, "default" 0.0; + visible, 1; + } + } + + part { + name, "part.focus.left"; + type, RECT; + scale, 1; + description { + state, "default" 0.0; + min, 3 200; + } + description { + state, "focused" 0.0; + inherit, "default" 0.0; + visible, 1; + } + } + + part { + name, "part.focus.down"; + type, RECT; + scale, 1; + description { + state, "default" 0.0; + min, 200 3; + } + description { + state, "focused" 0.0; + inherit, "default" 0.0; + visible, 1; + } + } + + part { + name, "part.focus.right"; + type, RECT; + scale, 1; + description { + state, "default" 0.0; + min, 3 200; + } + description { + state, "focused" 0.0; + inherit, "default" 0.0; + visible, 1; + } + } + } +} |