style: Adjust ViewCube home button position
This commit is contained in:
@@ -14,8 +14,8 @@ namespace
|
|||||||
QRect getHomeButtonRect(int widgetWidth) {
|
QRect getHomeButtonRect(int widgetWidth) {
|
||||||
const int viewCubeSize = 150; // logical pixels
|
const int viewCubeSize = 150; // logical pixels
|
||||||
const int buttonSize = 24;
|
const int buttonSize = 24;
|
||||||
const int buttonOffsetX = 8;
|
const int buttonOffsetX = 16;
|
||||||
const int buttonOffsetY = 0;
|
const int buttonOffsetY = 16;
|
||||||
|
|
||||||
const int viewCubeX = widgetWidth - viewCubeSize;
|
const int viewCubeX = widgetWidth - viewCubeSize;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user