UI tweaks

This commit is contained in:
Serge
2023-05-22 17:57:06 +02:00
parent 9e6ca7c2e2
commit 5b2a4cb065
3 changed files with 35 additions and 10 deletions

View File

@@ -319,7 +319,15 @@ namespace GHelper
private void Keyboard_Shown(object? sender, EventArgs e)
{
Top = Program.settingsForm.Top;
if (Height > Program.settingsForm.Height)
{
Top = Program.settingsForm.Top + Program.settingsForm.Height - Height;
}
else
{
Top = Program.settingsForm.Top;
}
Left = Program.settingsForm.Left - Width - 5;
}