summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKateryna Fesyna <k.fesyna@samsung.com>2014-11-24 14:26:27 +0200
committerKateryna Fesyna <k.fesyna@samsung.com>2014-11-24 14:26:27 +0200
commitac05347951da080f6d62ac15a7c690054d5101ec (patch)
tree46d37e3d8909290b1d090b5b09526f3850a756c3
parentc058aef695d7fd3fa095f98fdd18ea2526c8b9cf (diff)
EWE_Tabs: change width of content border to 2 pixels
-rw-r--r--data/themes/widgets/tabs.edc30
1 files changed, 28 insertions, 2 deletions
diff --git a/data/themes/widgets/tabs.edc b/data/themes/widgets/tabs.edc
index 80c3442..9be6c08 100644
--- a/data/themes/widgets/tabs.edc
+++ b/data/themes/widgets/tabs.edc
@@ -375,6 +375,10 @@ group {name: "ewe/tabs/item/head/vertical/red";
375 } 375 }
376} 376}
377 377
378#define PADDING_SIZE_SET \
379 min: 2 2; \
380 max: 2 2;
381
378group {name: "ewe/tabs/item/content/horizontal/default"; 382group {name: "ewe/tabs/item/content/horizontal/default";
379 images { 383 images {
380 image: "tab-content-bg.png" COMP; 384 image: "tab-content-bg.png" COMP;
@@ -390,11 +394,31 @@ group {name: "ewe/tabs/item/content/horizontal/default";
390 fill.smooth: 0; 394 fill.smooth: 0;
391 } 395 }
392 } 396 }
397 part { name: "padding.top_left";
398 type: SPACER;
399 description {
400 align: 0.0 0.0;
401 PADDING_SIZE_SET;
402 }
403 }
404 part { name: "padding.right_bottom";
405 type: SPACER;
406 description {
407 align: 1.0 1.0;
408 PADDING_SIZE_SET;
409 }
410 }
393 part { name: "ewe.content"; 411 part { name: "ewe.content";
394 type: SWALLOW; 412 type: SWALLOW;
395 description { state: "default" 0.0; 413 description { state: "default" 0.0;
396 rel1.offset: 0 2; 414 rel1 {
397 rel2.offset: -3 -3; 415 to: "padding.top_left";
416 relative: 1.0 1.0;
417 }
418 rel2 {
419 to: "padding.right_bottom";
420 relative: 0.0 0.0;
421 }
398 } 422 }
399 } 423 }
400 part { name: "disabler"; 424 part { name: "disabler";
@@ -427,6 +451,8 @@ group {name: "ewe/tabs/item/content/horizontal/default";
427 } 451 }
428} 452}
429 453
454#undef PADDING_SIZE
455
430group {name: "ewe/tabs/item/content/horizontal/blue"; 456group {name: "ewe/tabs/item/content/horizontal/blue";
431 inherit: "ewe/tabs/item/content/horizontal/default"; 457 inherit: "ewe/tabs/item/content/horizontal/default";
432 parts { 458 parts {