Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Kdenlive
Commits
acbf0996
Commit
acbf0996
authored
Nov 29, 2019
by
Jean-Baptiste Mardelle
Browse files
Ensure small icons in monitor toolbar on Windows
parent
a795fb35
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/monitor/monitor.cpp
View file @
acbf0996
...
...
@@ -199,6 +199,9 @@ Monitor::Monitor(Kdenlive::MonitorId id, MonitorManager *manager, QWidget *paren
// Tool bar buttons
m_toolbar
=
new
QToolBar
(
this
);
int
size
=
style
()
->
pixelMetric
(
QStyle
::
PM_SmallIconSize
);
QSize
iconSize
(
size
,
size
);
m_toolbar
->
setIconSize
(
iconSize
);
QWidget
*
sp1
=
new
QWidget
(
this
);
sp1
->
setSizePolicy
(
QSizePolicy
::
MinimumExpanding
,
QSizePolicy
::
Preferred
);
m_toolbar
->
addWidget
(
sp1
);
...
...
Write
Preview
Supports
Markdown
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