From 126e93950cead40e2475b8b1629a3f66a8bc2f98 Mon Sep 17 00:00:00 2001 From: dazedcat19 <59296763+dazedcat19@users.noreply.github.com> Date: Thu, 13 Feb 2020 09:16:45 +0800 Subject: [PATCH] changed button abort text with close icon --- baseunits/DBUpdater.pas | 7 +++++-- baseunits/SelfUpdater.pas | 7 +++++-- mangadownloader/md.lpi | 2 +- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/baseunits/DBUpdater.pas b/baseunits/DBUpdater.pas index f9bfd0917..3f4d56283 100644 --- a/baseunits/DBUpdater.pas +++ b/baseunits/DBUpdater.pas @@ -117,6 +117,7 @@ procedure TDBUpdaterThread.SyncStart; begin Parent := FormMain; SimplePanel := False; + SizeGrip := False; with Panels.Add do // panel for progress bar Width := 100; Panels.Add; // panel for progress text @@ -150,8 +151,10 @@ procedure TDBUpdaterThread.SyncStart; Parent := FStatusBar; Align := alNone; AutoSize := True; - Caption := RS_ButtonCancel; - ShowCaption := True; + //Caption := RS_ButtonCancel; + //ShowCaption := True; + Images := FormMain.IconList; + ImageIndex := 24; Flat := True; Anchors := [akTop, akRight, akBottom]; AnchorSideTop.Control := FStatusBar; diff --git a/baseunits/SelfUpdater.pas b/baseunits/SelfUpdater.pas index aad9ecbf1..26904bf5b 100644 --- a/baseunits/SelfUpdater.pas +++ b/baseunits/SelfUpdater.pas @@ -104,6 +104,7 @@ procedure TSelfUpdaterThread.SyncStart; begin Parent := FormMain; SimplePanel := False; + SizeGrip := False; with Panels.Add do // panel for progress bar Width := 100; Panels.Add; // panel for progress text @@ -137,8 +138,10 @@ procedure TSelfUpdaterThread.SyncStart; Parent := FStatusBar; Align := alNone; AutoSize := True; - Caption := RS_ButtonCancel; - ShowCaption := True; + //Caption := RS_ButtonCancel; + //ShowCaption := True; + Images := FormMain.IconList; + ImageIndex := 24; Flat := True; Anchors := [akTop, akRight, akBottom]; AnchorSideTop.Control := FStatusBar; diff --git a/mangadownloader/md.lpi b/mangadownloader/md.lpi index ce2025f80..00a6032da 100644 --- a/mangadownloader/md.lpi +++ b/mangadownloader/md.lpi @@ -25,7 +25,7 @@ - +