mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
CComponentsFrmClock: disable digit height
Using of digit height is not really required here. eg. better centering
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user