mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Alignment of log and terminal window
This commit is contained in:
parent
4c23b3c03a
commit
b6e90eaef7
1 changed files with 12 additions and 6 deletions
|
|
@ -3801,22 +3801,28 @@ begin
|
|||
UpdateNoteBook(nbLeft);
|
||||
UpdateNoteBook(nbRight);
|
||||
|
||||
// Command line
|
||||
pnlCommand.Visible := gCmdLine;
|
||||
edtCommand.Tag := 0;
|
||||
ToggleConsole;
|
||||
|
||||
// Log window
|
||||
seLogWindow.Visible := gLogWindow;
|
||||
LogSplitter.Visible := gLogWindow;
|
||||
// Align log window
|
||||
seLogWindow.Top := 0;
|
||||
LogSplitter.Top := 0;
|
||||
FontOptionsToFont(gFonts[dcfLog], seLogWindow.Font);
|
||||
|
||||
// Command line
|
||||
pnlCommand.Visible := gCmdLine;
|
||||
edtCommand.Tag := 0;
|
||||
// Align command line and terminal window
|
||||
pnlCommand.Top := -Height;
|
||||
ConsoleSplitter.Top:= -Height;
|
||||
ToggleConsole;
|
||||
|
||||
// Function keys
|
||||
pnlKeys.Visible := gKeyButtons;
|
||||
if gKeyButtons then
|
||||
begin
|
||||
pnlKeys.Height := Canvas.TextHeight('Wg') + 4;
|
||||
pnlKeys.Top:= Height;
|
||||
pnlKeys.Top:= Height * 2;
|
||||
for I := 0 to pnlKeys.ControlCount - 1 do
|
||||
if pnlKeys.Controls[I] is TSpeedButton then
|
||||
(pnlKeys.Controls[I] as TSpeedButton).Flat := gInterfaceFlat;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue