mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-05 13:58:04 +02:00
Tools/Icons_to_HTML: Speed-up display of icons in IconTable application. Patch by Roland Hahn.
This commit is contained in:
parent
78caaf4fc2
commit
c0fbe886a0
@ -11,6 +11,7 @@ object MainForm: TMainForm
|
||||
OnShow = FormShow
|
||||
Position = poScreenCenter
|
||||
ShowHint = True
|
||||
LCLVersion = '2.3.0.0'
|
||||
object DirectoryEdit: TDirectoryEdit
|
||||
AnchorSideLeft.Control = Owner
|
||||
AnchorSideTop.Control = sbtnLastDirs
|
||||
|
@ -293,7 +293,7 @@ begin
|
||||
LineStr := '';
|
||||
for isl := StartIdx to i do
|
||||
if IcoSizeList[isl] = PixSizeList[ips] then
|
||||
LineStr := ' <td><img src="' + IcoFileList.Strings[isl] + '.png" alt=""></td>';
|
||||
LineStr := ' <td><img src="' + IcoFileList.Strings[isl] + '.png" loading="lazy" alt=""></td>';
|
||||
if LineStr > '' then
|
||||
SynEdit.Lines.Add(LineStr)
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user