From 6b4ae042a3dc9026183ab28225f86c2e7fe0824b Mon Sep 17 00:00:00 2001 From: Junghyun Kim Date: Wed, 5 Sep 2012 16:39:57 +0900 Subject: Fix layout issue realte to giant font size --- data/groups/search_result.edc | 177 ++++++++++++++++++++++++++++++++++++++++-- data/smartsearch.edc | 7 +- 2 files changed, 172 insertions(+), 12 deletions(-) (limited to 'data') diff --git a/data/groups/search_result.edc b/data/groups/search_result.edc index e3a17f7..abd5853 100755 --- a/data/groups/search_result.edc +++ b/data/groups/search_result.edc @@ -1,12 +1,12 @@ /* * Copyright 2012 Samsung Electronics Co., Ltd - * + * * Licensed under the Flora License, Version 1.0 (the License); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.tizenopensource.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. @@ -20,19 +20,180 @@ group { name: "smartsearch/search_result"; parts { - part { + part { name: "bg"; mouse_events: 0; type: RECT; scale: 1; - description { + description { state: "default" 0.0; visible: 1; rel1 { relative: 0.0 0.0;} rel2 { relative: 1.0 1.0;} - color: 0 0 0 0; + color: SEARCHBAR_BACKGROUND_COLOR_DEFAULT; } } + part { + name: "searchbar_pad_top"; + type: RECT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + visible: 1; + min: 0 16; + fixed: 0 1; + align: 0.0 0.0; + rel1 { relative: 0.0 0.0; to: "bg";} + rel2 { relative: 1.0 0.0; to: "bg";} + color: SEARCHBAR_BACKGROUND_COLOR_DEFAULT; + } + } + + part { + name: "searchbar_area_category_pad_left"; + type: RECT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + visible: 1; + min: 16 0; + fixed: 0 1; + align: 0.0 0.0; + rel1 { relative: 0.0 1.0; + to_x: "searchbar_pad_top"; + to_y: "searchbar_pad_top";} + rel2 { relative: 0.0 1.0; + to_x: "searchbar_pad_top"; + to_y: "searchbar_pad_top";} + color: SEARCHBAR_BACKGROUND_COLOR_DEFAULT; + } + } + + part { + name: "searchbar_category_area"; + type: RECT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + visible: 1; + min: 80 0; + fixed: 0 1; + align: 0.0 0.0; + rel1 { relative: 1.0 1.0; + to_x: "searchbar_area_category_pad_left"; + to_y: "searchbar_pad_top";} + rel2 { relative: 1.0 1.0; + to_x: "searchbar_area_category_pad_left"; + to_y: "searchbar_pad_top";} + color: SEARCHBAR_BACKGROUND_COLOR_DEFAULT; + } + } + + part { + name: "searchbar_area_entry"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + description { + state: "default" 0.0; + min: 0 72; + fixed: 0 1; + align: 0.0 0.0; + rel1 { relative: 1.0 1.0; + to_x: "searchbar_category_area"; + to_y: "searchbar_pad_top";} + rel2 { relative: 1.0 1.0; + to_x: "searchbar_pad_top"; + to_y: "searchbar_pad_top";} + } + } + + part { + name: "searchbar_pad_bottom"; + type: RECT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + visible: 1; + min: 0 16; + fixed: 0 1; + align: 0.0 0.0; + rel1 { relative: 0.0 1.0; + to_x: "searchbar_pad_top"; + to_y: "searchbar_area_entry";} + rel2 { relative: 0.0 1.0; + to_x: "searchbar_area_entry"; + to_y: "searchbar_area_entry";} + color: SEARCHBAR_BACKGROUND_COLOR_DEFAULT; + } + } + + part { + name: "searchbar_area_category_bg"; + type: RECT; + mouse_events: 1; + scale: 1; + description { + state: "default" 0.0; + visible: 1; + min: 0 0; + fixed: 0 1; + align: 0.0 0.5; + rel1 { relative: 0.0 0.0; + to_x: "searchbar_area_category_pad_left"; + to_y: "searchbar_area_entry";} + rel2 { relative: 0.0 1.0; + to_x: "searchbar_area_entry"; + to_y: "searchbar_area_entry";} + color: SEARCHBAR_BACKGROUND_COLOR_DEFAULT; + } + } + + part { + name: "searchbar_area_category"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + description { + state: "default" 0.0; + visible: 1; + min: 80 74; + //max: 0 106; + fixed: 0 1; + align: 0.0 0.5; + rel1 { relative: 0.0 0.5; + to_x: "searchbar_category_area"; + to_y: "searchbar_area_entry";} + rel2 { relative: 1.0 0.5; + to_x: "searchbar_category_area"; + to_y: "searchbar_area_entry";} + } + } + + part { + name: "result_bg"; + type: RECT; + mouse_events: 1; + scale: 1; + description { + state: "default" 0.0; + visible: 1; + min: 0 0; + fixed: 0 1; + rel1 { relative: 0.0 1.0; + to_x: "searchbar_pad_bottom"; + to_y: "searchbar_pad_bottom";} + rel2 { relative: 1.0 1.0; + to_x: "bg"; + to_y: "bg";} + color: 255 255 255 255; + } + } + part { name: "list"; type: SWALLOW; @@ -42,7 +203,7 @@ group { state: "default" 0.0; //min: 720 1024; align: 0.0 0.0; - rel1 { relative: 0.0 0.0; to: "bg"; } + rel1 { relative: 0.0 1.0; to: "searchbar_pad_bottom"; } rel2 { relative: 1.0 1.0; to: "bg"; } } } @@ -55,7 +216,7 @@ group { state: "default" 0.0; //min: 720 1024; align: 0.0 0.0; - rel1 { relative: 0.0 0.0; to: "bg"; } + rel1 { relative: 0.0 1.0; to: "searchbar_pad_bottom"; } rel2 { relative: 1.0 1.0; to: "bg"; } } } diff --git a/data/smartsearch.edc b/data/smartsearch.edc index 643fabd..0061e2c 100755 --- a/data/smartsearch.edc +++ b/data/smartsearch.edc @@ -1,12 +1,12 @@ /* * Copyright 2012 Samsung Electronics Co., Ltd - * + * * Licensed under the Flora License, Version 1.0 (the License); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.tizenopensource.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. @@ -20,6 +20,5 @@ collections { #include "smartsearch-color.edc" #include "groups/search_result.edc" -#include "groups/search_bar.edc" #include "groups/ug_effect.edc" } -- cgit v1.2.3