CComponentsFrmClock: disable digit height

Using of digit height is not really required here.
eg. better centering


Origin commit data
------------------
Commit: d0aa901d70
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-09 (Mon, 09 Jan 2017)
This commit is contained in:
2017-01-09 17:26:13 +01:00
parent bcab3c3b6c
commit c2f6fc5539

View File

@@ -262,12 +262,12 @@ void CComponentsFrmClock::initCCLockItems()
lbl->doPaintTextBoxBg(paint_bg);
bool save_txt_screen = cc_txt_save_screen || (!paint_bg || cc_body_gradient_enable);
lbl->enableTboxSaveScreen(save_txt_screen);
#if 0
//use matching height for digits for better vertical centerring into form
CTextBox* ctb = lbl->getCTextBoxObject();
if (ctb)
ctb->setFontUseDigitHeight();
#if 0
//ensure paint of text and label bg on changed text or painted form background
bool force_txt_and_bg = (lbl->textChanged() || this->paint_bg);
lbl->forceTextPaint(force_txt_and_bg);