mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4282 Add a new cafShortenedQLabel class that provides a label that shortens itself when space is limited
This commit is contained in:
@@ -45,6 +45,7 @@
|
||||
#include "cafPdmField.h"
|
||||
|
||||
#include "cafFactory.h"
|
||||
#include "cafShortenedQLabel.h"
|
||||
|
||||
#include <QBoxLayout>
|
||||
|
||||
@@ -157,7 +158,7 @@ QWidget* PdmUiPushButtonEditor::createEditorWidget(QWidget * parent)
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
QWidget* PdmUiPushButtonEditor::createLabelWidget(QWidget * parent)
|
||||
{
|
||||
m_label = new QLabel(parent);
|
||||
m_label = new cafShortenedQLabel(parent);
|
||||
return m_label;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user