World Clock Widget / res / edje /
content.edc
- /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd
- *
- * Licensed under the Flora License, Version 1.1 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://floralicense.org/license/
- *
- * 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.
- */
- collections {
- group { name: "content";
- parts {
- part { name: "widget.bg";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- min: 360 360;
- max: 360 360;
- fixed: 1 1;
- }
- }
- part { name: "widget.region";
- type: TEXT;
- scale: 1;
- description { state: "default" 0.0;
- rel1.relative: 0.5 (72+(47/2))/360;
- rel1.to: "widget.bg";
- rel2.relative: 0.5 (72+(47/2))/360;
- rel2.to: "widget.bg";
- align: 0.5 0.5;
- fixed: 1 1;
- min: 283 47;
- text {
- font: TIZEN_SANS":style=Regular";
- text_class: "tizen";
- min: 0 1;
- size: 30;
- align: 0.5 0.5;
- }
- }
- }
- part { name: "widget.time";
- type: TEXT;
- scale: 1;
- description { state: "default" 0.0;
- rel1.relative: 0.5 (72+47+20+(89/2))/360;
- rel1.to: "widget.bg";
- rel2.relative: 0.5 (72+47+20+(89/2))/360;
- rel2.to: "widget.bg";
- align: 0.5 0.5;
- fixed: 1 1;
- min: 283 89;
- text {
- font: TIZEN_SANS":style=Regular";
- text_class: "tizen";
- min: 0 1;
- size: 60;
- align: 0.5 0.5;
- }
- }
- }
- part { name: "widget.date";
- type: TEXT;
- scale: 1;
- description { state: "default" 0.0;
- rel1.relative: 0.5 (72+47+20+89+3+(32/2))/360;
- rel1.to: "widget.bg";
- rel2.relative: 0.5 (72+47+20+89+3+(32/2))/360;
- rel2.to: "widget.bg";
- align: 0.5 0.5;
- fixed: 1 1;
- min: 283 32;
- text {
- font: TIZEN_SANS":style=Regular";
- text_class: "tizen";
- min: 0 1;
- size: 24;
- align: 0.5 0.5;
- }
- }
- }
- part { name: "widget.event";
- type: RECT;
- repeat_events: 1;
- description { state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel1.to: "widget.bg";
- rel2.relative: 1.0 1.0;
- rel2.to: "widget.bg";
- color: 0 0 0 0;
- }
- }
- }
- }
- }