2 * Copyright 2012 Samsung Electronics Co., Ltd
4 * Licensed under the Flora License, Version 1.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.tizenopensource.org/license
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 #define NOCONTENT_TEXT_BLOCK_TEXT_SIZE_INC 32
18 #define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC 173 170 165 255
21 name: "elm/layout/nocontents/gallery";
23 style { name: "nocontent_style";
24 base: "font=SLP:style=Roman text_class=slp_roman font_size="NOCONTENT_TEXT_BLOCK_TEXT_SIZE_INC" align=center color=#ffffff wrap=word";
26 tag: "hilight" "+ font=SLP:style=Bold text_class=slp_bold";
27 tag: "b" "+ font=SLP:style=Bold text_class=slp_bold";
32 image: GALLERY_EDC_IMAGE_NOCONTENTS_PIC COMP;
38 description { state: "default" 0.0;
40 rel1 { relative: 0.0 0.0;}
41 rel2 { relative: 1.0 1.0;}
45 part { name: "nocontents.image";
46 description { state: "default" 0.0;
49 rel1 { relative: 203/720 296/1016; to: "bg";}
50 rel2 { relative: (203+314)/720 (296+310)/1016; to: "bg";}
52 normal: GALLERY_EDC_IMAGE_NOCONTENTS_PIC;
57 aspect_preference: BOTH;
60 part { name: "middle.padding";
63 description { state: "default" 0.0;
66 rel1 { relative: 0.0 1.0; to_y: "nocontents.image";}
67 rel2 { relative: 1.0 (296+310+54)/1016; to: "bg";}
70 part { name: "elm.text";
72 description { state: "default" 0.0;
76 rel1 { relative: 0.0 1.0; to_x: "bg"; to_y: "middle.padding";}
77 rel2 { relative: 1.0 1.0; to: "bg";}
78 color: NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC;
80 style: "nocontent_style";