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
43c94605
Commit
43c94605
authored
Apr 20, 2010
by
Alexander Wiebel
Browse files
[FIX
#307
] hopefully this makes the gui look nicer again.
parent
4d99caf9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
src/gui/qt4/WMainWindow.cpp
src/gui/qt4/WMainWindow.cpp
+4
-0
src/gui/qt4/WQtNavGLWidget.cpp
src/gui/qt4/WQtNavGLWidget.cpp
+1
-1
No files found.
src/gui/qt4/WMainWindow.cpp
View file @
43c94605
...
...
@@ -371,6 +371,10 @@ void WMainWindow::setupCompatiblesToolBar()
WPreferences
::
getPreference
(
"qt4gui.useToolBarBreak"
,
&
useToolBarBreak
);
if
(
useToolBarBreak
)
{
// Blank toolbar for nicer layout in case of toolbar break
// This can be done nicer very probably.
WQtToolBar
*
blankToolBar
=
new
WQtToolBar
(
"Blank Toolbar"
,
this
);
addToolBar
(
Qt
::
TopToolBarArea
,
blankToolBar
);
addToolBarBreak
(
Qt
::
TopToolBarArea
);
}
}
...
...
src/gui/qt4/WQtNavGLWidget.cpp
View file @
43c94605
...
...
@@ -54,7 +54,7 @@ WQtNavGLWidget::WQtNavGLWidget( QString title, QWidget* parent, std::string slid
m_glWidget
->
setFixedSize
(
150
,
150
);
m_glWidget
->
initialize
();
setMinimumSize
(
160
,
2
0
0
);
setMinimumSize
(
160
,
2
3
0
);
setSizePolicy
(
QSizePolicy
::
Preferred
,
QSizePolicy
::
Maximum
);
m_scene
=
new
WGEScene
();
...
...
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