mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix track widths and canvas top alignment
This commit is contained in:
@@ -211,6 +211,7 @@ void RimWellLogPlot::fieldChangedByUi( const caf::PdmFieldHandle* changedField,
|
||||
changedField == &m_depthAxisGridVisibility )
|
||||
{
|
||||
updateTracks();
|
||||
if ( m_viewer ) m_viewer->updateChildrenLayout();
|
||||
}
|
||||
else if ( changedField == &m_showTitleInPlot )
|
||||
{
|
||||
|
||||
@@ -481,7 +481,7 @@ void RimWellLogTrack::updateParentPlotLayout()
|
||||
RiuWellLogPlot* wellLogPlotViewer = dynamic_cast<RiuWellLogPlot*>( wellLogPlot->viewWidget() );
|
||||
if ( wellLogPlotViewer )
|
||||
{
|
||||
wellLogPlotViewer->update();
|
||||
wellLogPlotViewer->updateChildrenLayout();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -82,10 +82,10 @@ public:
|
||||
};
|
||||
enum WidthScaleFactor
|
||||
{
|
||||
EXTRA_NARROW_TRACK = 2,
|
||||
NARROW_TRACK = 3,
|
||||
NORMAL_TRACK = 4,
|
||||
WIDE_TRACK = 6,
|
||||
EXTRA_NARROW_TRACK = 3,
|
||||
NARROW_TRACK = 4,
|
||||
NORMAL_TRACK = 5,
|
||||
WIDE_TRACK = 7,
|
||||
EXTRA_WIDE_TRACK = 10
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user