aboutsummaryrefslogtreecommitdiff
path: root/gui/theme-config.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/theme-config.cpp')
-rw-r--r--gui/theme-config.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/gui/theme-config.cpp b/gui/theme-config.cpp
index 48a93ca285..9d417c9c2e 100644
--- a/gui/theme-config.cpp
+++ b/gui/theme-config.cpp
@@ -377,9 +377,10 @@ const char *Theme::_defaultConfigINI =
"remap=(w / 4) (h / 4) (w / 2) (h / 2)\n"
"remap_spacing=10\n"
"remap_popup=remap_spacing remap_spacing (prev.w - remap_spacing * 2) (kLineHeight + 2)\n"
-"remap_popup_labelW=buttonWidth\n"
+"remap_popup_labelW=kButtonWidth\n"
"remap_col_count=2\n"
-"remap_keymap_area=remap_spacing (remap_popup.y + remap_popup.h + remap_spacing) (remap.w - remap_spacing * 2) (remap.h - self.y - remap_spacing)\n"
+"remap_keymap_area=remap_spacing (remap_popup.y + remap_popup.h + remap_spacing) (remap.w - remap_spacing * 2) (remap.h - self.y - remap_spacing * 2 - kBigButtonHeight)\n"
+"remap_close_button=((remap.w - kButtonWidth) / 2) (prev.y + prev.h + remap_spacing) kButtonWidth kBigButtonHeight\n"
"############################################\n"
"[chooser]\n"
"chooserW=(w - 2 * 8)\n"