mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
This commit is contained in:
1
app/Extra.Designer.cs
generated
1
app/Extra.Designer.cs
generated
@@ -1267,6 +1267,7 @@ namespace GHelper
|
||||
//
|
||||
AutoScaleDimensions = new SizeF(192F, 192F);
|
||||
AutoScaleMode = AutoScaleMode.Dpi;
|
||||
AutoScroll = true;
|
||||
AutoSize = true;
|
||||
AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
||||
ClientSize = new Size(1013, 1515);
|
||||
|
||||
12
app/Extra.cs
12
app/Extra.cs
@@ -634,7 +634,17 @@ namespace GHelper
|
||||
{
|
||||
if (Height > Program.settingsForm.Height)
|
||||
{
|
||||
Top = Program.settingsForm.Top + Program.settingsForm.Height - Height;
|
||||
var top = Program.settingsForm.Top + Program.settingsForm.Height - Height;
|
||||
|
||||
if (top < 0)
|
||||
{
|
||||
MaximumSize = new Size(Width, Program.settingsForm.Height);
|
||||
Top = Program.settingsForm.Top;
|
||||
} else
|
||||
{
|
||||
Top = top;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user