[Bf-blender-cvs] [b1142858d4c] blender-v2.92-release: Revert "Fix T80313: Fix clipped text in splash screen on hiDPI monitors"

Julian Eisel noreply at git.blender.org
Fri Feb 19 19:05:20 CET 2021


Commit: b1142858d4ca5b26aea80fd7ffe2d2a39d4daf3d
Author: Julian Eisel
Date:   Fri Feb 19 19:02:57 2021 +0100
Branches: blender-v2.92-release
https://developer.blender.org/rBb1142858d4ca5b26aea80fd7ffe2d2a39d4daf3d

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).

===================================================================

M	source/blender/editors/interface/interface.c

===================================================================

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) {



More information about the Bf-blender-cvs mailing list