From 8d196ace7fb01d2ac011d1c685ff422ef891320c Mon Sep 17 00:00:00 2001 From: Lex Neva Date: Mon, 27 Aug 2018 16:43:23 -0400 Subject: position params's simulator window at the top of the screen --- lib/extensions/params.py | 1 + messages.po | 16 ++++++++-------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/lib/extensions/params.py b/lib/extensions/params.py index 73ce069d..c9c994c9 100644 --- a/lib/extensions/params.py +++ b/lib/extensions/params.py @@ -430,6 +430,7 @@ class SettingsFrame(wx.Frame): current_screen = wx.Display.GetFromPoint(wx.GetMousePosition()) display = wx.Display(current_screen) screen_rect = display.GetClientArea() + simulator_pos.y = screen_rect.GetTop() width = screen_rect.GetWidth() - params_rect.GetWidth() height = screen_rect.GetHeight() diff --git a/messages.po b/messages.po index 15718012..f17c39dc 100644 --- a/messages.po +++ b/messages.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2018-08-27 16:15-0400\n" +"POT-Creation-Date: 2018-08-27 16:43-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -608,29 +608,29 @@ msgstr "" msgid "Apply and Quit" msgstr "" -#: lib/extensions/params.py:438 +#: lib/extensions/params.py:439 msgid "Preview" msgstr "" -#: lib/extensions/params.py:454 +#: lib/extensions/params.py:455 msgid "Internal Error" msgstr "" -#: lib/extensions/params.py:507 +#: lib/extensions/params.py:508 msgid "Please enter or select a preset name first." msgstr "" -#: lib/extensions/params.py:507 lib/extensions/params.py:513 -#: lib/extensions/params.py:541 +#: lib/extensions/params.py:508 lib/extensions/params.py:514 +#: lib/extensions/params.py:542 msgid "Preset" msgstr "" -#: lib/extensions/params.py:513 +#: lib/extensions/params.py:514 #, python-format msgid "Preset \"%s\" not found." msgstr "" -#: lib/extensions/params.py:541 +#: lib/extensions/params.py:542 #, python-format msgid "" "Preset \"%s\" already exists. Please use another name or press " -- cgit v1.2.3