EditorView/Placeholder: Avoid huge text on some systems

Change-Id: I80456b0c861feb670caec7cca26e0bc9b1516766
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
Eike Ziller
2015-01-23 16:36:12 +01:00
committed by Tobias Hunger
parent 520c16b448
commit f5a3c7cf17

View File

@@ -191,9 +191,9 @@ void Locator::updateEditorManagerPlaceholderText()
{ {
Command *openCommand = ActionManager::command(Constants::OPEN); Command *openCommand = ActionManager::command(Constants::OPEN);
Command *locateCommand = ActionManager::command(Constants::LOCATE); Command *locateCommand = ActionManager::command(Constants::LOCATE);
const QString placeholderText = tr("<html><body style=\"color:#909090; font-size:14pt\">" const QString placeholderText = tr("<html><body style=\"color:#909090; font-size:14px\">"
"<div align='center'>" "<div align='center'>"
"<div style=\"font-size:20pt\">Open a document</div>" "<div style=\"font-size:20px\">Open a document</div>"
"<table><tr><td>" "<table><tr><td>"
"<hr/>" "<hr/>"
"<div style=\"margin-top: 5px\">&bull; File > Open File or Project (%1)</div>" "<div style=\"margin-top: 5px\">&bull; File > Open File or Project (%1)</div>"