mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Process Monitor: Removed border, and switched to courier font.
ResultinfoPanel: Removed border
This commit is contained in:
@@ -52,14 +52,16 @@ RiuProcessMonitor::RiuProcessMonitor(QDockWidget* pParent)
|
|||||||
m_textEdit->setReadOnly(true);
|
m_textEdit->setReadOnly(true);
|
||||||
m_textEdit->setLineWrapMode(QPlainTextEdit::NoWrap);
|
m_textEdit->setLineWrapMode(QPlainTextEdit::NoWrap);
|
||||||
|
|
||||||
//QFont font("Courier", 8);
|
QFont font("Courier", 8);
|
||||||
QFont font("Terminal", 10);
|
//QFont font("Terminal", 11);
|
||||||
m_textEdit->setFont(font);
|
m_textEdit->setFont(font);
|
||||||
|
|
||||||
QVBoxLayout* pLayout = new QVBoxLayout();
|
QVBoxLayout* pLayout = new QVBoxLayout();
|
||||||
pLayout->addLayout(pTopLayout);
|
pLayout->addLayout(pTopLayout);
|
||||||
pLayout->addWidget(m_textEdit);
|
pLayout->addWidget(m_textEdit);
|
||||||
|
|
||||||
|
pLayout->setContentsMargins(0, 0, 0, 0);
|
||||||
|
|
||||||
setLayout(pLayout);
|
setLayout(pLayout);
|
||||||
|
|
||||||
setStatusMsg("N/A", caf::PROCESS_STATE_NORMAL);
|
setStatusMsg("N/A", caf::PROCESS_STATE_NORMAL);
|
||||||
|
|||||||
@@ -42,6 +42,9 @@ RiuResultInfoPanel::RiuResultInfoPanel(QDockWidget* parent)
|
|||||||
|
|
||||||
QVBoxLayout* layout = new QVBoxLayout();
|
QVBoxLayout* layout = new QVBoxLayout();
|
||||||
layout->addWidget(m_textEdit);
|
layout->addWidget(m_textEdit);
|
||||||
|
|
||||||
|
layout->setContentsMargins(0, 0, 0, 0);
|
||||||
|
|
||||||
setLayout(layout);
|
setLayout(layout);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user