akveo / akveo/nebular

Allow progress status text to be centered with the full width of the bar

未关闭
#2,344 2 条评论 6 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
8.1k
派生
1.5k
PR 合并指标
30 天内没有已合并 PR

描述

### Issue type

**I'm submitting a ...** (check one with "x")

* [ ] bug report
* [x] feature request

### Issue description

**Current behavior:**
Currently, the progress text only appears centered with the filled part. As a result, if the progress is very small, the progress text is not completely visible, as shown below:
![image](https://user-images.githubusercontent.com/20218826/80916006-9348d200-8d73-11ea-951d-1a527bf4a71f.png)

**Expected behavior:**
I would like to have an options to allow centering the text with the full width of the bar. So, the expected behaviour will be an option to allow this:
![image](https://user-images.githubusercontent.com/20218826/80916171-b1fb9880-8d74-11ea-893b-5d2b86ace200.png)
Note how part of the status text is differently coloured depending upon if it is overlapping with the filled part. This feature will be really helpful. If you want, I can help implement this as well. Please let me how you all think of this.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。