Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
26726ab5
Commit
26726ab5
authored
Feb 23, 2010
by
Alexander Wiebel
Browse files
[FIX] hopefully the sizes are reasonable for more platforms now
parent
a90d0a05
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/gui/qt4/WQtNavGLWidget.cpp
src/gui/qt4/WQtNavGLWidget.cpp
+2
-1
No files found.
src/gui/qt4/WQtNavGLWidget.cpp
View file @
26726ab5
...
...
@@ -45,6 +45,7 @@ WQtNavGLWidget::WQtNavGLWidget( QString title, QWidget* parent, int maxValue, st
QSlider
*
slider
=
new
QSlider
(
Qt
::
Horizontal
);
slider
->
setMaximum
(
maxValue
);
slider
->
setValue
(
maxValue
/
2
);
slider
->
resize
(
150
,
20
);
QWidget
*
panel
=
new
QWidget
(
this
);
QVBoxLayout
*
layout
=
new
QVBoxLayout
();
...
...
@@ -54,7 +55,7 @@ WQtNavGLWidget::WQtNavGLWidget( QString title, QWidget* parent, int maxValue, st
m_glWidget
->
setFixedSize
(
150
,
150
);
m_glWidget
->
initialize
();
setFixedSize
(
1
7
0
,
17
0
);
setFixedSize
(
1
6
0
,
20
0
);
m_scene
=
new
WGEScene
();
m_scene
->
setDataVariance
(
osg
::
Object
::
DYNAMIC
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment