mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
CComponentsFrmClock: disable separate handle of label paint
This is already handled in CTextBox object itself and should be enough.
Origin commit data
------------------
Commit: 1107e4f89b
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-26 (Tue, 26 Nov 2013)
This commit is contained in:
@@ -181,11 +181,11 @@ void CComponentsFrmClock::initCCLockItems()
|
||||
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);
|
||||
|
||||
#endif
|
||||
//set xpos of item
|
||||
cl_x += wtmp;
|
||||
|
||||
|
Reference in New Issue
Block a user