mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
dboxinfo: fix partition size display
Origin commit data
------------------
Commit: 8946c6ebf8
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2014-01-05 (Sun, 05 Jan 2014)
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
Copyright (C) 2001 Steffen Hehn 'McClean'
|
||||
Homepage: http://dbox.cyberphoria.org/
|
||||
|
||||
(C) 2009-2011, 2013 Stefan Seyfried
|
||||
(C) 2009-2011, 2013-2014 Stefan Seyfried
|
||||
|
||||
Kommentar:
|
||||
|
||||
@@ -559,6 +559,7 @@ void CDBoxInfoWidget::paint()
|
||||
int rw = g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->getRenderWidth(tmp, true);
|
||||
maxWidth[column] = std::max(maxWidth[column], rw);
|
||||
space = widths[column] - rw;
|
||||
_w = rw;
|
||||
}
|
||||
if ((mpOffset + space + _w) > width)
|
||||
_w = width - (mpOffset + space);
|
||||
|
Reference in New Issue
Block a user