Skip to content

Commit 7dc947c

Browse files
committed
* workaround for issue #12 (fixing default stand alignment in 10.1 Berlin)
1 parent b141d45 commit 7dc947c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

source/FrameStand.pas

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
(*
2-
Copyright 2015, TFrameStand
2+
Copyright 2016, TFrameStand
33
44
Author:
55
Andrea Magni <andrea(dot)magni(at)gmail(dot)com>
@@ -427,6 +427,12 @@ constructor TFrameInfo<T>.Create(const AFrameStand: TFrameStand;
427427
FStand.Align := TAlignLayout.Contents;
428428
FStand.StyleName := 'container';
429429
end;
430+
{$if compilerversion >= 31}
431+
// 10.1 Berlin and later
432+
// See https://github.com/andrea-magni/TFrameStand/issues/12
433+
// also see https://quality.embarcadero.com/browse/RSP-14806
434+
FStand.Align := TAlignLayout.Contents;
435+
{$ifend}
430436
FStand.Visible := False;
431437

432438
// PARENT

0 commit comments

Comments
 (0)