mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3849 Shorten column space for WSEGAICD table to 1
This commit is contained in:
parent
3dafd06859
commit
41dc8feca3
@ -681,6 +681,8 @@ void RicWellPathExportMswCompletionsImpl::generateWsegvalvTable(RifEclipseDataTa
|
||||
void RicWellPathExportMswCompletionsImpl::generateWsegAicdTable(RifEclipseDataTableFormatter& formatter,
|
||||
const RicMswExportInfo& exportInfo)
|
||||
{
|
||||
int existingColSpacing = formatter.columnSpacing();
|
||||
formatter.setColumnSpacing(1);
|
||||
bool foundValve = false;
|
||||
|
||||
for (std::shared_ptr<RicMswSegment> location : exportInfo.wellSegmentLocations())
|
||||
@ -758,6 +760,7 @@ void RicWellPathExportMswCompletionsImpl::generateWsegAicdTable(RifEclipseDataTa
|
||||
{
|
||||
formatter.tableCompleted();
|
||||
}
|
||||
formatter.setColumnSpacing(existingColSpacing);
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
@ -41,6 +41,14 @@ RifEclipseDataTableFormatter::~RifEclipseDataTableFormatter()
|
||||
CVF_ASSERT(m_columns.empty());
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
int RifEclipseDataTableFormatter::columnSpacing() const
|
||||
{
|
||||
return m_colSpacing;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
@ -108,6 +108,7 @@ public:
|
||||
RifEclipseDataTableFormatter(QTextStream& out);
|
||||
virtual ~RifEclipseDataTableFormatter();
|
||||
|
||||
int columnSpacing() const;
|
||||
void setColumnSpacing(int spacing);
|
||||
void setTableRowPrependText(const QString& text);
|
||||
void setTableRowLineAppendText(const QString& text);
|
||||
|
Loading…
Reference in New Issue
Block a user