Give horizontal splitter below SQL editor on a new query tab an Y position, so it's not placed above the editor. Closes #439.

This commit is contained in:
Ansgar Becker
2018-12-17 21:46:25 +01:00
parent 1e1ffa2059
commit f2babc8a21

View File

@@ -10268,6 +10268,7 @@ begin
QueryTab.spltQuery := TSplitter.Create(QueryTab.TabSheet);
QueryTab.spltQuery.Parent := QueryTab.TabSheet;
QueryTab.spltQuery.Top := spltQuery.Top; // Important to get it below the editor, not above. See #439
QueryTab.spltQuery.Align := spltQuery.Align;
QueryTab.spltQuery.Height := spltQuery.Height;
QueryTab.spltQuery.Cursor := spltQuery.Cursor;