You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I think nzStrokeWidth refers to the width of the line, i.e. the thickness of the line, so there is no problem with the setting in ng zorro (the thickness corresponds to the height since the line is horizontal).
I'm guessing you want to set the length of the nz-progress component? If so, perhaps you can change the width of the nz-progress by setting the css style like "{ display: block; width: xxx }", or by modifying the ".ant.progress.line" style.
If my guess above is correct, I think your misunderstanding is normal, because there is an additional nzWidth parameter when nzType is circle or dashboard, and it is related to the size of nz-progress.
Reproduction link
https://stackblitz.com/edit/angular-yamqw4?file=src%2Fapp%2Fapp.component.ts
Steps to reproduce
set [nzStrokeWidth] for nz-progress component and its height will become a value of [nzStrokeWidth].
What is expected?
Change step's width, not height
What is actually happening?
[nzStrokeWidth] changes step's height
The text was updated successfully, but these errors were encountered: