Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Blankfield <vvv>2021-07-06 22:17:42 +0300
committerHarley Acheson <harley.acheson@gmail.com>2021-07-06 22:17:42 +0300
commit4a24c6fe37a7b8ebae17614616bf5ad2c23670f2 (patch)
treea5db0257c484b299f0c8d3ea71f2657af914f0af /source/blender/editors/interface/interface.c
parent46a261e108ee98a4f557dc731ff8be9887cd061c (diff)
UI: Center the Status Bar Progress Text
This patch horizontally centers the text inside the progress bar widget. It is currently left-aligned and offset to the middle, which doesn't center properly. see D11205 for details and examples. Differential Revision: https://developer.blender.org/D11205 Reviewed by Julian Eisel
Diffstat (limited to 'source/blender/editors/interface/interface.c')
-rw-r--r--source/blender/editors/interface/interface.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface.c b/source/blender/editors/interface/interface.c
index d3b74c91e86..32b86119753 100644
--- a/source/blender/editors/interface/interface.c
+++ b/source/blender/editors/interface/interface.c
@@ -4106,7 +4106,6 @@ static uiBut *ui_def_but(uiBlock *block,
UI_BTYPE_BLOCK,
UI_BTYPE_BUT_MENU,
UI_BTYPE_SEARCH_MENU,
- UI_BTYPE_PROGRESS_BAR,
UI_BTYPE_DATASETROW,
UI_BTYPE_POPOVER)) {
but->drawflag |= (UI_BUT_TEXT_LEFT | UI_BUT_ICON_LEFT);