World Clock Widget / res / edje /

content.edc

  1. /*
  2. * Copyright (c) 2015 Samsung Electronics Co., Ltd
  3. *
  4. * Licensed under the Flora License, Version 1.1 (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
  7. *
  8. * http://floralicense.org/license/
  9. *
  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.
  15. */
  16. collections {
  17. group { name: "content";
  18. parts {
  19. part { name: "widget.bg";
  20. type: SWALLOW;
  21. scale: 1;
  22. description { state: "default" 0.0;
  23. rel1.relative: 0.0 0.0;
  24. rel2.relative: 1.0 1.0;
  25. min: 360 360;
  26. max: 360 360;
  27. fixed: 1 1;
  28. }
  29. }
  30. part { name: "widget.region";
  31. type: TEXT;
  32. scale: 1;
  33. description { state: "default" 0.0;
  34. rel1.relative: 0.5 (72+(47/2))/360;
  35. rel1.to: "widget.bg";
  36. rel2.relative: 0.5 (72+(47/2))/360;
  37. rel2.to: "widget.bg";
  38. align: 0.5 0.5;
  39. fixed: 1 1;
  40. min: 283 47;
  41. text {
  42. font: TIZEN_SANS":style=Regular";
  43. text_class: "tizen";
  44. min: 0 1;
  45. size: 30;
  46. align: 0.5 0.5;
  47. }
  48. }
  49. }
  50. part { name: "widget.time";
  51. type: TEXT;
  52. scale: 1;
  53. description { state: "default" 0.0;
  54. rel1.relative: 0.5 (72+47+20+(89/2))/360;
  55. rel1.to: "widget.bg";
  56. rel2.relative: 0.5 (72+47+20+(89/2))/360;
  57. rel2.to: "widget.bg";
  58. align: 0.5 0.5;
  59. fixed: 1 1;
  60. min: 283 89;
  61. text {
  62. font: TIZEN_SANS":style=Regular";
  63. text_class: "tizen";
  64. min: 0 1;
  65. size: 60;
  66. align: 0.5 0.5;
  67. }
  68. }
  69. }
  70. part { name: "widget.date";
  71. type: TEXT;
  72. scale: 1;
  73. description { state: "default" 0.0;
  74. rel1.relative: 0.5 (72+47+20+89+3+(32/2))/360;
  75. rel1.to: "widget.bg";
  76. rel2.relative: 0.5 (72+47+20+89+3+(32/2))/360;
  77. rel2.to: "widget.bg";
  78. align: 0.5 0.5;
  79. fixed: 1 1;
  80. min: 283 32;
  81. text {
  82. font: TIZEN_SANS":style=Regular";
  83. text_class: "tizen";
  84. min: 0 1;
  85. size: 24;
  86. align: 0.5 0.5;
  87. }
  88. }
  89. }
  90. part { name: "widget.event";
  91. type: RECT;
  92. repeat_events: 1;
  93. description { state: "default" 0.0;
  94. rel1.relative: 0.0 0.0;
  95. rel1.to: "widget.bg";
  96. rel2.relative: 1.0 1.0;
  97. rel2.to: "widget.bg";
  98. color: 0 0 0 0;
  99. }
  100. }
  101. }
  102. }
  103. }