fix button font
authorMyung Jin Kim <critical.kim@samsung.com>
Tue, 2 Apr 2013 08:28:03 +0000 (17:28 +0900)
committerMyung Jin Kim <critical.kim@samsung.com>
Tue, 2 Apr 2013 08:28:03 +0000 (17:28 +0900)
Change-Id: I539bee60e7ce6295b8d84c7192654f74391726b0

src/ui/controls/FUiCtrl_ButtonPresenter.cpp

index 83c607f..e4196dc 100644 (file)
@@ -781,14 +781,14 @@ _ButtonPresenter::DrawText(void)
                __pTextObject->SetFont(__pFont, 0, __pTextObject->GetTextLength());
                __pTextObject->Compose();
        }
-       else
-       {
-               fontSize = __pButton->GetTextSizeF();
-               SetTextSize(fontSize);
+       //else
+       //{
+       //      fontSize = __pButton->GetTextSizeF();
+       //      SetTextSize(fontSize);
 
-               __pTextObject->SetFont(__pFont, 0, __pTextObject->GetTextLength());
-               __pTextObject->Compose();
-       }
+       //      __pTextObject->SetFont(__pFont, 0, __pTextObject->GetTextLength());
+       //      __pTextObject->Compose();
+       //}
 
        __pTextObject->SetForegroundColor(__pButton->GetTextColor(__pButton->GetButtonStatus()), 0, __pTextObject->GetTextLength());
        __pTextObject->Draw(*_CanvasImpl::GetInstance(*pCanvas));