forked from qt-creator/qt-creator
TextEditor: Make "Annotation Settings" link smaller
...in annotation tooltips. Change-Id: I67b73773544cfb86a3d11228cc349cf10f024e7e Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -142,7 +142,8 @@ bool DisplaySettings::equals(const DisplaySettings &ds) const
|
|||||||
|
|
||||||
QLabel *DisplaySettings::createAnnotationSettingsLink()
|
QLabel *DisplaySettings::createAnnotationSettingsLink()
|
||||||
{
|
{
|
||||||
auto label = new QLabel("<i><a href>Annotation Settings</a></i>", Core::ICore::mainWindow());
|
auto label = new QLabel("<small><i><a href>Annotation Settings</a></i></small>",
|
||||||
|
Core::ICore::mainWindow());
|
||||||
QObject::connect(label, &QLabel::linkActivated, []() {
|
QObject::connect(label, &QLabel::linkActivated, []() {
|
||||||
Utils::ToolTip::hideImmediately();
|
Utils::ToolTip::hideImmediately();
|
||||||
Core::ICore::showOptionsDialog(Constants::TEXT_EDITOR_DISPLAY_SETTINGS);
|
Core::ICore::showOptionsDialog(Constants::TEXT_EDITOR_DISPLAY_SETTINGS);
|
||||||
|
Reference in New Issue
Block a user