diff --git a/src/ViewCube.cpp b/src/ViewCube.cpp index 723dbf7..b4bb53e 100644 --- a/src/ViewCube.cpp +++ b/src/ViewCube.cpp @@ -87,7 +87,7 @@ void ViewCube::paintGL(QOpenGLShaderProgram* simpleShader, int simpleShaderColor QVector3D zAxisNdc = mvp.map(zAxisEnd); const int vpX = width - viewCubeSize; - const int vpY = height - viewCubeSize; + const int vpY = 0; const int vpW = viewCubeSize; const int vpH = viewCubeSize; const float dpr = QGuiApplication::primaryScreen()->devicePixelRatio(); @@ -261,7 +261,7 @@ void ViewCube::paint2D(QPainter& painter, int widgetWidth, int widgetHeight) { QFont font("Arial", 10, QFont::Bold); painter.setFont(font); - painter.setPen(Qt::black); + painter.setPen(Qt::white); QFontMetrics fm(font); QRect xRect = fm.boundingRect("X");