From 3ba594f82709ae222a5f3395b1c10ff5008488a7 Mon Sep 17 00:00:00 2001 From: Martin Date: Mon, 14 Feb 2022 14:54:27 +0100 Subject: [PATCH] IDE: Color Config, fix layout / anchor-sides. --- ide/syncolorattribeditor.pas | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ide/syncolorattribeditor.pas b/ide/syncolorattribeditor.pas index d6ac7834fb..aff8ba32f0 100644 --- a/ide/syncolorattribeditor.pas +++ b/ide/syncolorattribeditor.pas @@ -282,20 +282,22 @@ begin S := FrameAlphaSpin; if Width > S.Left + S.Width + FrameStyleBox.Width + FrameEdgesBox.Width + 15 then begin - FrameEdgesBox.AnchorSide[akTop].Control := S; + //FrameEdgesBox.AnchorSide[akTop].Control := S; FrameEdgesBox.AnchorSide[akTop].Side := asrTop; FrameEdgesBox.AnchorSide[akLeft].Control := S; FrameEdgesBox.AnchorSide[akLeft].Side := asrBottom; FrameEdgesBox.BorderSpacing.Top := 0; FrameEdgesBox.BorderSpacing.Left := 6; + MarkupFoldColorBox.AnchorSide[akTop].Control := FrameColorBox; end else begin - FrameEdgesBox.AnchorSide[akTop].Control := FrameColorBox; + //FrameEdgesBox.AnchorSide[akTop].Control := FrameColorBox; FrameEdgesBox.AnchorSide[akTop].Side := asrBottom; FrameEdgesBox.AnchorSide[akLeft].Control := FrameColorBox; FrameEdgesBox.AnchorSide[akLeft].Side := asrTop; FrameEdgesBox.BorderSpacing.Top := 3; FrameEdgesBox.BorderSpacing.Left := 0; + MarkupFoldColorBox.AnchorSide[akTop].Control := FrameEdgesBox; end; end;