Skip to content

Commit

Permalink
* workaround for issue #12 (fixing default stand alignment in 10.1 Be…
Browse files Browse the repository at this point in the history
…rlin)
  • Loading branch information
andrea-magni committed Oct 4, 2016
1 parent b141d45 commit 7dc947c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion source/FrameStand.pas
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(*
Copyright 2015, TFrameStand
Copyright 2016, TFrameStand
Author:
Andrea Magni <andrea(dot)magni(at)gmail(dot)com>
Expand Down Expand Up @@ -427,6 +427,12 @@ constructor TFrameInfo<T>.Create(const AFrameStand: TFrameStand;
FStand.Align := TAlignLayout.Contents;
FStand.StyleName := 'container';
end;
{$if compilerversion >= 31}
// 10.1 Berlin and later
// See https://github.com/andrea-magni/TFrameStand/issues/12
// also see https://quality.embarcadero.com/browse/RSP-14806
FStand.Align := TAlignLayout.Contents;
{$ifend}
FStand.Visible := False;

// PARENT
Expand Down

0 comments on commit 7dc947c

Please sign in to comment.