mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3155 Slightly tweak X-autozoom so it zooms to the nearest outside minor tick.
* Looks much better and makes the problem of having tick labels overlap with neighbour tracks much rarer.
This commit is contained in:
@@ -380,7 +380,7 @@ void RiuWellLogPlot::placeChildWidgets(int frameHeight, int frameWidth)
|
||||
|
||||
positionTitle(frameWidth);
|
||||
|
||||
const int trackPadding = 0;
|
||||
const int trackPadding = 2;
|
||||
|
||||
std::map<int, int> trackWidths = calculateTrackWidthsToMatchFrame(frameWidth);
|
||||
size_t visibleTrackCount = trackWidths.size();
|
||||
|
||||
Reference in New Issue
Block a user