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
81316715
Commit
81316715
authored
May 16, 2022
by
Julius Künzel
Browse files
[RenderWidget] Add scrollbar to improve experience on small screens
parent
f7bc263e
Pipeline
#177380
passed with stage
in 7 minutes and 52 seconds
Changes
2
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
src/dialogs/renderwidget.cpp
View file @
81316715
...
...
@@ -171,6 +171,7 @@ RenderWidget::RenderWidget(bool enableProxy, QWidget *parent)
}
});
m_view
.
optionsGroup
->
setVisible
(
m_view
.
options
->
isChecked
());
m_view
.
optionsGroup
->
setMinimumWidth
(
m_view
.
optionsGroup
->
width
()
+
m_view
.
optionsGroup
->
verticalScrollBar
()
->
width
());
connect
(
m_view
.
options
,
&
QAbstractButton
::
toggled
,
m_view
.
optionsGroup
,
&
QWidget
::
setVisible
);
connect
(
m_view
.
out_file
,
&
KUrlRequester
::
textChanged
,
this
,
static_cast
<
void
(
RenderWidget
::*
)()
>
(
&
RenderWidget
::
slotUpdateButtons
));
...
...
@@ -335,7 +336,7 @@ void RenderWidget::slotShareActionFinished(const QJsonObject &output, int error,
QSize
RenderWidget
::
sizeHint
()
const
{
// Make sure the widget has minimum size on opening
return
{
200
,
200
};
return
{
200
,
qMax
(
200
,
screen
()
->
availableGeometry
().
height
())
};
}
RenderWidget
::~
RenderWidget
()
...
...
src/ui/renderwidget_ui.ui
View file @
81316715
This diff is collapsed.
Click to expand it.
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