mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 18:31:12 +02:00
CComponentsText: Fix default font
Origin commit data
------------------
Commit: ae139d4ec2
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-03-31 (Tue, 31 Mar 2015)
This commit is contained in:
@@ -114,7 +114,7 @@ void CComponentsText::initCCText()
|
|||||||
{
|
{
|
||||||
//set default font, if is no font definied
|
//set default font, if is no font definied
|
||||||
if (ct_font == NULL)
|
if (ct_font == NULL)
|
||||||
ct_font = *CNeutrinoFonts::getInstance()->getDynFont(width, height, ct_text, ct_text_style)/*g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL]*/;
|
ct_font = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL];
|
||||||
|
|
||||||
//define height from font size
|
//define height from font size
|
||||||
height = max(height, ct_font->getHeight());
|
height = max(height, ct_font->getHeight());
|
||||||
|
Reference in New Issue
Block a user