Skip to content

Commit

Permalink
introducing user parameter: BaseApp->Preferences->View->NaviWidgetSize
Browse files Browse the repository at this point in the history
  • Loading branch information
UR-0 authored and yorikvanhavre committed Feb 5, 2020
1 parent 8c1076a commit 3e5806c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Gui/NaviCube.cpp
Expand Up @@ -312,7 +312,9 @@ NaviCubeImplementation::NaviCubeImplementation(
m_HiliteColor = QColor(170,226,247);
m_ButtonColor = QColor(226,233,239,128);
m_PickingFramebuffer = NULL;
m_CubeWidgetSize = 132;

m_CubeWidgetSize = (App::GetApplication().GetUserParameter().
GetGroup("BaseApp")->GetGroup("Preferences")->GetGroup("View")->GetInt("NaviWidgetSize", 132));

m_Menu = createNaviCubeMenu();
}
Expand Down

0 comments on commit 3e5806c

Please sign in to comment.