You've already forked lazarus-ccr
spkToolbar: Fix dimensions when the toolbar is in a frame rather than a form. Issue #37961.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7786 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) then
|
if (AOwner is TForm) or (AOwner is TFrame) then
|
||||||
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