mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 09:21:18 +02:00
dboxinfo: fix partition size display
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
Copyright (C) 2001 Steffen Hehn 'McClean'
|
Copyright (C) 2001 Steffen Hehn 'McClean'
|
||||||
Homepage: http://dbox.cyberphoria.org/
|
Homepage: http://dbox.cyberphoria.org/
|
||||||
|
|
||||||
(C) 2009-2011, 2013 Stefan Seyfried
|
(C) 2009-2011, 2013-2014 Stefan Seyfried
|
||||||
|
|
||||||
Kommentar:
|
Kommentar:
|
||||||
|
|
||||||
@@ -559,6 +559,7 @@ void CDBoxInfoWidget::paint()
|
|||||||
int rw = g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->getRenderWidth(tmp, true);
|
int rw = g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->getRenderWidth(tmp, true);
|
||||||
maxWidth[column] = std::max(maxWidth[column], rw);
|
maxWidth[column] = std::max(maxWidth[column], rw);
|
||||||
space = widths[column] - rw;
|
space = widths[column] - rw;
|
||||||
|
_w = rw;
|
||||||
}
|
}
|
||||||
if ((mpOffset + space + _w) > width)
|
if ((mpOffset + space + _w) > width)
|
||||||
_w = width - (mpOffset + space);
|
_w = width - (mpOffset + space);
|
||||||
|
Reference in New Issue
Block a user