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:
2021-02-19 19:02:57 +01:00
parent 94cd52a162
commit b1142858d4

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