mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
Don't let the tankbar overlap the tissue heatmap
Shift the position of the tankbar to prevent it from overlapping the tissue heatmap Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
This commit is contained in:
parent
dbf1390094
commit
f7cecf506f
1 changed files with 2 additions and 2 deletions
|
@ -488,7 +488,7 @@ void ProfileWidget2::setupItemSizes()
|
|||
itemPos.percentage.expanded.setP1(QPointF(0, 0));
|
||||
itemPos.percentage.expanded.setP2(QPointF(0, 15));
|
||||
itemPos.percentageWithTankBar = itemPos.percentage;
|
||||
itemPos.percentageWithTankBar.expanded.setP2(QPointF(0, 12));
|
||||
itemPos.percentageWithTankBar.expanded.setP2(QPointF(0, 11.9));
|
||||
|
||||
itemPos.dcLabel.on.setX(3);
|
||||
itemPos.dcLabel.on.setY(100);
|
||||
|
@ -496,7 +496,7 @@ void ProfileWidget2::setupItemSizes()
|
|||
itemPos.dcLabel.off.setY(100);
|
||||
|
||||
itemPos.tankBar.on.setX(0);
|
||||
itemPos.tankBar.on.setY(91.5);
|
||||
itemPos.tankBar.on.setY(91.95);
|
||||
}
|
||||
|
||||
void ProfileWidget2::setupItem(AbstractProfilePolygonItem *item, DiveCartesianAxis *hAxis,
|
||||
|
|
Loading…
Reference in a new issue