From 10a2049093d2154cd60ad8a894e370439825a144 Mon Sep 17 00:00:00 2001 From: Troels Knakkergaard Date: Sat, 5 Mar 2016 03:21:57 +0100 Subject: [PATCH] Right align sizes in wxGenericFileDialog Numeric values should be right-aligned. See #17060. --- src/generic/filectrlg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generic/filectrlg.cpp b/src/generic/filectrlg.cpp index 45765a73b2..4c030d2b14 100644 --- a/src/generic/filectrlg.cpp +++ b/src/generic/filectrlg.cpp @@ -421,7 +421,7 @@ void wxFileListCtrl::ChangeToReportMode() GetTextExtent(txt, &w, &h); InsertColumn( 0, _("Name"), wxLIST_FORMAT_LEFT, w ); - InsertColumn( 1, _("Size"), wxLIST_FORMAT_LEFT, w/2 ); + InsertColumn( 1, _("Size"), wxLIST_FORMAT_RIGHT, w/2 ); InsertColumn( 2, _("Type"), wxLIST_FORMAT_LEFT, w/2 ); InsertColumn( 3, _("Modified"), wxLIST_FORMAT_LEFT, w ); #if defined(__UNIX__)