Packager: formatting

git-svn-id: trunk@38990 -
This commit is contained in:
juha 2012-10-08 00:12:29 +00:00
parent 07e313123f
commit a637ee7996
2 changed files with 3 additions and 5 deletions

View File

@ -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);

View File

@ -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;