You've already forked lazarus-ccr
spkToolbar: A more general solution to issue #37961 than r7786
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7787 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@@ -647,7 +647,7 @@ begin
|
|||||||
//todo: not found in lcl
|
//todo: not found in lcl
|
||||||
//inherited AlignWithMargins:=true;
|
//inherited AlignWithMargins:=true;
|
||||||
|
|
||||||
if (AOwner is TForm) or (AOwner is TFrame) then
|
if (AOwner is TCustomDesignControl) then // form or frame
|
||||||
SpkInitLayoutConsts(96); // This default dpi value is ignored for LCL scaling
|
SpkInitLayoutConsts(96); // This default dpi value is ignored for LCL scaling
|
||||||
|
|
||||||
// Height := CalcToolbarHeight;
|
// Height := CalcToolbarHeight;
|
||||||
|
Reference in New Issue
Block a user