From 736d0c47f0dc71626d28dc9f2d9d025ed40a54fe Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Sun, 5 Jan 2014 18:34:51 +0100 Subject: [PATCH] dboxinfo: fix partition size display Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/8946c6ebf89b6c3778a1fc7478424ca8e4ec8f04 Author: Stefan Seyfried Date: 2014-01-05 (Sun, 05 Jan 2014) --- src/gui/dboxinfo.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/dboxinfo.cpp b/src/gui/dboxinfo.cpp index 3d779b6ed..5e45f102e 100644 --- a/src/gui/dboxinfo.cpp +++ b/src/gui/dboxinfo.cpp @@ -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);