mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
Fix wrong restored query memo height after restart, due to automatic reduction in FormResize.
This commit is contained in:
@@ -16,7 +16,6 @@ object MainForm: TMainForm
|
||||
OnCreate = FormCreate
|
||||
OnDestroy = FormDestroy
|
||||
OnMouseWheel = FormMouseWheel
|
||||
OnResize = FormResize
|
||||
OnShow = FormShow
|
||||
PixelsPerInch = 96
|
||||
TextHeight = 13
|
||||
@@ -376,7 +375,7 @@ object MainForm: TMainForm
|
||||
Top = 0
|
||||
Width = 651
|
||||
Height = 303
|
||||
ActivePage = tabHost
|
||||
ActivePage = tabQuery
|
||||
Align = alClient
|
||||
HotTrack = True
|
||||
Images = ImageListMain
|
||||
@@ -1275,6 +1274,7 @@ object MainForm: TMainForm
|
||||
Height = 96
|
||||
Align = alTop
|
||||
BevelOuter = bvNone
|
||||
Constraints.MinHeight = 50
|
||||
TabOrder = 0
|
||||
OnCanResize = pnlQueryMemoCanResize
|
||||
object spltQueryHelpers: TSplitter
|
||||
@@ -2788,7 +2788,7 @@ object MainForm: TMainForm
|
||||
Left = 504
|
||||
Top = 104
|
||||
Bitmap = {
|
||||
494C0101BC005001800310001000FFFFFFFF2110FFFFFFFFFFFFFFFF424D3600
|
||||
494C0101BC005001840310001000FFFFFFFF2110FFFFFFFFFFFFFFFF424D3600
|
||||
0000000000003600000028000000400000000003000001002000000000000000
|
||||
0300000000000000000000000000000000000000000000000000000000000000
|
||||
0000000000000000000000000000000000000000000000000000000000000000
|
||||
|
||||
@@ -2090,6 +2090,10 @@ begin
|
||||
// control catches focus on startup, which is ugly.
|
||||
if DBtree.CanFocus then
|
||||
DBtree.SetFocus;
|
||||
|
||||
// Apply resize event and call it once here in OnShow, when the form has its final dimensions
|
||||
OnResize := FormResize;
|
||||
OnResize(Sender);
|
||||
end;
|
||||
|
||||
procedure TMainForm.actUserManagerExecute(Sender: TObject);
|
||||
|
||||
Reference in New Issue
Block a user