Revert "Fix T80313: Fix clipped text in splash screen on hiDPI monitors"

This reverts commit 7ee518cf70.

Causes T84869. The initial issue is less bad than this. We are looking into
alternative fixes for 2.93 (see D9854 and D9853).
This commit is contained in:
Julian Eisel 2021-02-19 19:02:57 +01:00
parent 94cd52a162
commit b1142858d4
Notes: blender-bot 2023-02-14 07:53:51 +01:00
Referenced by issue #85832, Stroke issues when using Wacom Tablet
Referenced by issue #84869, Expanded enums now always draw center aligned (was left aligned)
Referenced by issue #80313, "Searc" Typo on Button in Quick Setup Dialog
1 changed files with 0 additions and 5 deletions

View File

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