diff --git a/src/widgets/NumericTextCtrl.cpp b/src/widgets/NumericTextCtrl.cpp
index 4c8937a0b..63448d123 100644
--- a/src/widgets/NumericTextCtrl.cpp
+++ b/src/widgets/NumericTextCtrl.cpp
@@ -1371,8 +1371,8 @@ NumericTextCtrl::NumericTextCtrl(wxWindow *parent, wxWindowID id,
 {
    mAllowInvalidValue = false;
 
-   mDigitBoxW = 11;
-   mDigitBoxH = 19;
+   mDigitBoxW = 8;
+   mDigitBoxH = 14;
 
    mBorderLeft = 1;
    mBorderTop = 1;
diff --git a/src/widgets/Ruler.cpp b/src/widgets/Ruler.cpp
index 8dc4d0a65..649974d18 100644
--- a/src/widgets/Ruler.cpp
+++ b/src/widgets/Ruler.cpp
@@ -1001,14 +1001,14 @@ static constexpr int MinPixelHeight =
 #ifdef __WXMSW__
    12;
 #else
-   10;
+   7;
 #endif
 
 static constexpr int MaxPixelHeight =
 #ifdef __WXMSW__
    14;
 #elif __WXMAC__
-   10;
+   9;
 #else
    12;
 #endif
