From 144b5123e3b7ef2e511e8906c1cfbcd33024a1fc Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 29 Jan 2012 15:52:11 +0000 Subject: Realign prices in the trade menu. --- src/client/inventorylistview.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/client/inventorylistview.cc') diff --git a/src/client/inventorylistview.cc b/src/client/inventorylistview.cc index ed3419d..77daba2 100644 --- a/src/client/inventorylistview.cc +++ b/src/client/inventorylistview.cc @@ -86,7 +86,7 @@ void InventoryListView::set_inventory(core::Inventory *inventory, core::InfoType if (trader_item) { std::ostringstream std_price; std_price << trader_item->price() << " credits"; - str << aux::pad_left(std_price.str(), 14); + str << aux::pad_left(std_price.str(), 12); } if (trader_item) { @@ -111,12 +111,12 @@ void InventoryListView::set_inventory(core::Inventory *inventory, core::InfoType std::ostringstream std_price; std_price << item->price() << " credits"; - str << aux::pad_left(std_price.str(), 14); + str << aux::pad_left(std_price.str(), 12); } else { std::ostringstream std_price; std_price << item->price() << " credits"; - str << '\n' << aux::pad_left(std_price.str(), 24); + str << '\n' << aux::pad_left(std_price.str(), 22); } -- cgit v1.2.3