// Copyright (c) 2012 Samsung Electronics Co., Ltd.
//
-// Licensed under the Flora License, Version 1.0 (the License);
+// Licensed under the Flora License, Version 1.1 (the License);
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
#include <FUiControls.h>
+#include "IntCommonLib.h"
#include "IntSettingToggleCustomItem.h"
using namespace Tizen::App;
{
result r = E_FAILURE;
+ __fontSize = CommonUtil::GetFontSize();
__width = width;
__height = height;
const Dimension dim(width, height);
const int Y_Margin = 26;
const int textSize = 40;
- AddElement(Rectangle(X_Margin, Y_Margin, __width - 60, 60), IDA_FORMAT_STRING, __text, textSize, textColor, pressedTextColor, pressedTextColor, true);
- SetElementSelectionEnabled(IDA_FORMAT_STRING, false);
+ AddElement(Rectangle(X_Margin, Y_Margin, __width - 195, 60 + (__fontSize - 44)), IDA_FORMAT_STRING, __text, __fontSize, textColor, pressedTextColor, pressedTextColor, true);
+// SetElementSelectionEnabled(IDA_FORMAT_STRING, false);
return E_SUCCESS;
}