mUbbii
mUbbii

Reputation: 23

Inno Setup: How to shrink or resize the progress bar so that 100% label fits

My question is simple, how to shrink the progress bar so that 100% label fits? Otherwise I could not show in the screenshot. When it reaches 100%, it overlaps the boundary (don't know whats its called).

https://i.imgur.com/8ofqnwH.jpg

I'm using TLama's code "percent, elapsed time and estimated time progress".

enter image description here

I managed to re-arrange the labels using coordinates from enhanced edition.

This is what I'm trying to achieve:

https://i.imgur.com/F44LuJB.jpg

Currently using Inno Setup 5.5.9(u)

Upvotes: 2

Views: 556

Answers (1)

Martin Prikryl
Martin Prikryl

Reputation: 202672

Use WizardForm.ProgressGauge to access the progress bar:

WizardForm.ProgressGauge.Width := WizardForm.ProgressGauge.Width - ScaleX(32);

See also Inno Setup built-in control names.

Upvotes: 1

Related Questions