Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
830686f2
Commit
830686f2
authored
Jun 25, 2010
by
Thorbjørn Lindeijer
Browse files
Enable opaque resize for the splitters in the QML Design mode
parent
123607ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmldesigner/designmodewidget.cpp
View file @
830686f2
...
...
@@ -360,6 +360,7 @@ void DesignModeWidget::readSettings()
if
(
settings
->
contains
(
"MainSplitter"
))
{
const
QByteArray
splitterState
=
settings
->
value
(
"MainSplitter"
).
toByteArray
();
m_mainSplitter
->
restoreState
(
splitterState
);
m_mainSplitter
->
setOpaqueResize
();
// force opaque resize since it used to be off
}
settings
->
endGroup
();
}
...
...
@@ -697,7 +698,6 @@ void DesignModeWidget::setup()
m_mainSplitter
->
addWidget
(
m_rightSideBar
);
// Finishing touches:
m_mainSplitter
->
setOpaqueResize
(
false
);
m_mainSplitter
->
setStretchFactor
(
1
,
1
);
m_mainSplitter
->
setSizes
(
QList
<
int
>
()
<<
150
<<
300
<<
150
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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