mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
Profile2: place the ruler and tooltip on top (Z order)
The topmost Z order of items in the profile should be: - background (poster / logo) - toolTipItem - rulerItem ... This mostly fixes the ruler being under other elements. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
f2bfc72648
commit
4abe9d5c8b
1 changed files with 2 additions and 0 deletions
|
@ -132,7 +132,9 @@ void ProfileWidget2::addItemsToScene()
|
|||
void ProfileWidget2::setupItemOnScene()
|
||||
{
|
||||
background->setZValue(9999);
|
||||
toolTipItem->setZValue(9998);
|
||||
toolTipItem->setTimeAxis(timeAxis);
|
||||
rulerItem->setZValue(9997);
|
||||
|
||||
profileYAxis->setOrientation(DiveCartesianAxis::TopToBottom);
|
||||
profileYAxis->setMinimum(0);
|
||||
|
|
Loading…
Reference in a new issue