mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-05-12 06:37:20 -05:00
parent
f20f6cd4bb
commit
08aef9abc0
|
|
@ -964,6 +964,13 @@ private void ToggleViewReset()
|
|||
Box.HorizontallyCenter(Tab_Box);
|
||||
foreach (var pb in Box.SlotPictureBoxes)
|
||||
pb.ContextMenuStrip = menu.mnuVSD;
|
||||
|
||||
var grid = Box.BoxPokeGrid;
|
||||
var height = grid.Height + grid.Location.Y + Box.Location.Y; // needed height
|
||||
var required = height + 16;
|
||||
var allowed = Tab_Box.Height;
|
||||
if (required > allowed)
|
||||
FindForm().Height += required - allowed;
|
||||
}
|
||||
}
|
||||
if (SAV.HasParty)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user