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:
authorJulian Eisel <julian@blender.org>2021-02-19 21:02:57 +0300
committerJulian Eisel <julian@blender.org>2021-02-19 21:02:57 +0300
commitb1142858d4ca5b26aea80fd7ffe2d2a39d4daf3d (patch)
tree8ea35d4f3372d1c1175d2a0b92cb66f7bc49e093
parent94cd52a162621e009a9e65f426b05f2c62389dc1 (diff)
Revert "Fix T80313: Fix clipped text in splash screen on hiDPI monitors"
This reverts commit 7ee518cf705fcebee2d110bfbb6bf00a0f170efb. Causes T84869. The initial issue is less bad than this. We are looking into alternative fixes for 2.93 (see D9854 and D9853).
-rw-r--r--source/blender/editors/interface/interface.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source/blender/editors/interface/interface.c b/source/blender/editors/interface/interface.c
index 319ae385ffc..6e62d6f1140 100644
--- a/source/blender/editors/interface/interface.c
+++ b/source/blender/editors/interface/interface.c
@@ -4079,11 +4079,6 @@ static uiBut *ui_def_but(uiBlock *block,
}
#endif
- /* Always keep text in radio-buttons (expanded enums) center aligned. */
- if (ELEM(but->type, UI_BTYPE_ROW)) {
- but->drawflag &= ~UI_BUT_TEXT_LEFT;
- }
-
but->drawflag |= (block->flag & UI_BUT_ALIGN);
if (block->lock == true) {