Skip to content

Commit

Permalink
Adjust text alignment in ProgressBar to center.
Browse files Browse the repository at this point in the history
  • Loading branch information
Wutname1 committed May 1, 2024
1 parent 30a0f99 commit 0d79370
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/StdUi/widgets/ProgressBar.lua
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function StdUi:ProgressBar(parent, width, height, vertical)
end

progressBar.text = self:Label(progressBar, '');
progressBar.text:SetJustifyH('MIDDLE');
progressBar.text:SetJustifyH('CENTER');
progressBar.text:SetAllPoints();

self:ApplyBackdrop(progressBar);
Expand Down

0 comments on commit 0d79370

Please sign in to comment.