default: fix issue with size computing

This commit is contained in:
Boris Faure 2020-04-10 22:58:23 +02:00
parent 70f6cfb612
commit 68adc919be
Signed by: borisfaure
GPG Key ID: 35C0410516166BE8
1 changed files with 22 additions and 23 deletions

View File

@ -1443,23 +1443,23 @@ group { name: "terminology/background";
target: "drag_left_pulse";
target: "drag_left_outline";
target: "drag_left_glow";
target: "drag_left_icon";
target: "drag_left_rect";
target: "drag_left_icon";
target: "drag_right_pulse";
target: "drag_right_outline";
target: "drag_right_glow";
target: "drag_right_icon";
target: "drag_right_rect";
target: "drag_right_icon";
target: "drag_top_pulse";
target: "drag_top_outline";
target: "drag_top_icon";
target: "drag_top_rect";
target: "drag_top_glow";
target: "drag_top_icon";
target: "drag_bottom_pulse";
target: "drag_bottom_outline";
target: "drag_bottom_glow";
target: "drag_bottom_icon";
target: "drag_bottom_rect";
target: "drag_bottom_icon";
}
// left boundary of the active tab (dragable 0.0 -> 1.0)
part { name: "terminology.tabl"; type: SPACER;
@ -1577,9 +1577,9 @@ group { name: "terminology/background";
description { state: "default" 0.0;
rel1.to: "terminology.tab";
rel1.relative: 1.0 0.0;
rel2.to_x: "terminology.tab_btn";
//rel2.to_x: "terminology.tab_btn";
rel2.to_y: "tabmiddle";
rel2.relative: 0.0 1.0;
//rel2.relative: 0.0 1.0;
color: 0 0 0 0;
visible: 0;
fixed: 1 1;
@ -1612,7 +1612,7 @@ group { name: "terminology/background";
align: 1.0 0.5;
image.normal: "tab_close";
rel1 {
to: "tabmiddle";
to_y: "tabmiddle";
to_x: "tab_bevel_top3";
relative: 0.0 0.3;
}
@ -1916,22 +1916,6 @@ group { name: "terminology/background";
visible: 1; \
} \
} \
part { name: "drag_"##DIR##"_icon"; \
description { state: "default" 0.0; \
aspect: 1.0 1.0; aspect_preference: BOTH; \
align: 0.5 0.5; \
rel1.to: "drag_"##DIR##"_outline"; \
rel2.to: "drag_"##DIR##"_outline"; \
min: 10 10; \
max: 80 80; \
image.normal: "icon_split_"##ICON##".png"; \
visible: 0; \
} \
description { state: "hdrag,off" 0.0; \
inherit: "default" 0.0; \
visible: 1; \
} \
} \
part { name: "drag_"##DIR##"_outline"; \
mouse_events: 0; \
description { state: "default" 0.0; \
@ -1956,6 +1940,21 @@ group { name: "terminology/background";
visible: 1; \
} \
} \
part { name: "drag_"##DIR##"_icon"; \
description { state: "default" 0.0; \
aspect: 1.0 1.0; aspect_preference: BOTH; \
align: 0.5 0.5; \
rel1.to: "drag_"##DIR##"_outline"; \
rel2.to: "drag_"##DIR##"_outline"; \
max: 80 80; \
image.normal: "icon_split_"##ICON##".png"; \
visible: 0; \
} \
description { state: "hdrag,off" 0.0; \
inherit: "default" 0.0; \
visible: 1; \
} \
} \
program { \
name: "drag_"##DIR##",on"; \
signal: "drag_"##DIR##",on"; source: "terminology"; \