forked from qt-creator/qt-creator
CMakeprojectManager: Use Utils::ElidingLabel in GeneratorKitAspect
Don't stretch the kit options page horizontally more than required. Change-Id: I8eb3855ae48a8a172741b1c42f79b9e05cc7eb42 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -318,7 +318,7 @@ class CMakeGeneratorKitAspectWidget : public KitAspectWidget
|
|||||||
public:
|
public:
|
||||||
CMakeGeneratorKitAspectWidget(Kit *kit, const ::KitAspect *ki)
|
CMakeGeneratorKitAspectWidget(Kit *kit, const ::KitAspect *ki)
|
||||||
: KitAspectWidget(kit, ki),
|
: KitAspectWidget(kit, ki),
|
||||||
m_label(new QLabel),
|
m_label(new Utils::ElidingLabel),
|
||||||
m_changeButton(new QPushButton)
|
m_changeButton(new QPushButton)
|
||||||
{
|
{
|
||||||
m_label->setToolTip(ki->description());
|
m_label->setToolTip(ki->description());
|
||||||
@@ -459,7 +459,7 @@ private:
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool m_ignoreChange = false;
|
bool m_ignoreChange = false;
|
||||||
QLabel *m_label;
|
Utils::ElidingLabel *m_label;
|
||||||
QPushButton *m_changeButton;
|
QPushButton *m_changeButton;
|
||||||
CMakeTool *m_currentTool = nullptr;
|
CMakeTool *m_currentTool = nullptr;
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user