Introduce default font size. This fixes sizing and spacing for text rendered via a painter with not font specified. (#4069)
Also removed some qss for windows that have been removed. Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com>
This commit is contained in:
@@ -169,6 +169,10 @@ namespace AzQtComponents
|
||||
initializeSearchPaths(application, engineRootPath);
|
||||
initializeFonts();
|
||||
|
||||
QFont defaultFont("Open Sans");
|
||||
defaultFont.setPixelSize(12);
|
||||
QApplication::setFont(defaultFont);
|
||||
|
||||
m_titleBarOverdrawHandler = TitleBarOverdrawHandler::createHandler(application, this);
|
||||
|
||||
// The window decoration wrappers require the titlebar overdraw handler
|
||||
|
||||
Reference in New Issue
Block a user