mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3145 Ensemble stat. Show plot data dialog: Increase tab stop size
This commit is contained in:
@@ -211,6 +211,9 @@ RiuShowTabbedPlotDataDialog::RiuShowTabbedPlotDataDialog(QWidget* parent /*= nul
|
||||
textEdit->setFont(font);
|
||||
textEdit->setContextMenuPolicy(Qt::NoContextMenu);
|
||||
|
||||
auto fontWidth = QFontMetrics(font).width("m");
|
||||
textEdit->setTabStopWidth(fontWidth * 9);
|
||||
|
||||
m_tabWidget->addTab(textEdit, tabTitle);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user