2 // Open Service Platform
3 // Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
5 // Licensed under the Flora License, Version 1.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
9 // http://floralicense.org/license/
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an AS IS BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
18 * @file FUi_ResourceLabelConfig.cpp
19 * @brief This is the implementation file for the properties of Label.
22 #include "FUi_ResourceLabelConfig.h"
24 START_UI_CONFIG(LABEL);
26 ADD_COLOR_CONFIG(TEXT_NORMAL, $F011L1);
28 START_UI_CONFIG_MODE(480x800);
29 ADD_DIMENSION_CONFIG(MIN_SIZE, 0, 0);
30 END_UI_CONFIG_MODE(480x800);
32 START_UI_CONFIG_MODE(720x1280);
33 ADD_SHAPE_CONFIG(TEXT_FONT_SIZE, 32);
34 ADD_SHAPE_CONFIG(LEFT_MARGIN, 16);
35 ADD_SHAPE_CONFIG(TOP_MARGIN, 0);
36 ADD_SHAPE_CONFIG(RIGHT_MARGIN, 16);
37 ADD_SHAPE_CONFIG(BOTTOM_MARGIN, 0);
38 ADD_DIMENSION_CONFIG(MIN_SIZE, 0, 0);
39 END_UI_CONFIG_MODE(720x1280);
41 START_UI_CONFIG_MODE(1280x720);
42 ADD_SHAPE_CONFIG(TEXT_FONT_SIZE, 32);
43 ADD_SHAPE_CONFIG(LEFT_MARGIN, 16);
44 ADD_SHAPE_CONFIG(TOP_MARGIN, 0);
45 ADD_SHAPE_CONFIG(RIGHT_MARGIN, 16);
46 ADD_SHAPE_CONFIG(BOTTOM_MARGIN, 0);
47 ADD_DIMENSION_CONFIG(MIN_SIZE, 0, 0);
48 END_UI_CONFIG_MODE(1280x720);