diff --git a/apps/openmw/mwgui/countdialog.cpp b/apps/openmw/mwgui/countdialog.cpp
index 86d6402c88..2ca6657a17 100644
--- a/apps/openmw/mwgui/countdialog.cpp
+++ b/apps/openmw/mwgui/countdialog.cpp
@@ -40,7 +40,7 @@ namespace MWGui
mSlider->setScrollRange(maxCount);
mItemText->setCaption(item);
- int width = std::max(mItemText->getTextSize().width + 128, 320);
+ int width = std::max(mItemText->getTextSize().width + 160, 320);
setCoord(viewSize.width / 2 - width / 2, viewSize.height / 2 - mMainWidget->getHeight() / 2, width,
mMainWidget->getHeight());
diff --git a/apps/openmw/mwgui/itemwidget.cpp b/apps/openmw/mwgui/itemwidget.cpp
index a2877e8b1e..27895c54d0 100644
--- a/apps/openmw/mwgui/itemwidget.cpp
+++ b/apps/openmw/mwgui/itemwidget.cpp
@@ -30,11 +30,11 @@ namespace
{
if (count > 999999999)
return MyGUI::utility::toString(count / 1000000000) + "b";
- else if (count > 9999999)
+ else if (count > 99999999)
return ">9m";
else if (count > 999999)
return MyGUI::utility::toString(count / 1000000) + "m";
- else if (count > 9999)
+ else if (count > 99999)
return ">9k";
else if (count > 999)
return MyGUI::utility::toString(count / 1000) + "k";
diff --git a/files/data/mygui/openmw_count_window.layout b/files/data/mygui/openmw_count_window.layout
index c9e160cbb2..3f1729f56d 100644
--- a/files/data/mygui/openmw_count_window.layout
+++ b/files/data/mygui/openmw_count_window.layout
@@ -5,10 +5,10 @@
-
+
-
+