mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-09 00:02:50 +02:00
Packager: formatting
git-svn-id: trunk@38990 -
This commit is contained in:
parent
07e313123f
commit
a637ee7996
@ -1226,8 +1226,7 @@ begin
|
||||
InitByteToStr;
|
||||
|
||||
Indent:='';
|
||||
s:=Indent+'LazarusResources.Add('''+ResourceName+''','''+ResourceType+''',['
|
||||
+LineEnd;
|
||||
s:=Indent+'LazarusResources.Add('''+ResourceName+''','''+ResourceType+''',['+LineEnd;
|
||||
WriteString(s);
|
||||
Indent:=' '+Indent;
|
||||
WriteString(Indent);
|
||||
|
@ -1339,9 +1339,8 @@ begin
|
||||
ComponentIconSpeedButton.Glyph.Assign(Image.Picture.Graphic);
|
||||
ShortFilename:=AFilename;
|
||||
LazPackage.ShortenFilename(ShortFilename,true);
|
||||
ComponentIconSpeedButton.Hint:=
|
||||
ShortFilename+' ('+IntToStr(ComponentIconSpeedButton.Glyph.Width)
|
||||
+'x'+IntToStr(ComponentIconSpeedButton.Glyph.Height)+')';
|
||||
with ComponentIconSpeedButton do
|
||||
Hint:=Format('%s (%dx%d)', [ShortFilename, Glyph.Width, Glyph.Height]);
|
||||
FComponentIconFilename:=AFilename;
|
||||
finally
|
||||
Image.Free;
|
||||
|
Loading…
Reference in New Issue
Block a user