Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
4k
Issue boards
Milestones
Code
Merge requests
440
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC
Commits
2807d7ad
Commit
2807d7ad
authored
1 year ago
by
Fatih Uzunoğlu
Committed by
Steve Lhomme
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
qml: fix toolbar editor dialog combobox sizing
parent
4982441f
No related branches found
Branches containing commit
No related tags found
1 merge request
!3813
qml: fix toolbar editor dialog combobox sizing
Pipeline
#365325
passed with stage
in 17 minutes and 45 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/gui/qt/dialogs/toolbar/qml/ToolbarEditorDialog.qml
+15
-4
15 additions, 4 deletions
modules/gui/qt/dialogs/toolbar/qml/ToolbarEditorDialog.qml
with
15 additions
and
4 deletions
modules/gui/qt/dialogs/toolbar/qml/ToolbarEditorDialog.qml
+
15
−
4
View file @
2807d7ad
...
...
@@ -69,9 +69,17 @@ WindowDialog {
ColumnLayout
{
anchors.fill
:
parent
spacing
:
VLCStyle
.
margin_small
RowLayout
{
Layout.fillHeight
:
false
spacing
:
VLCStyle
.
margin_xsmall
Widgets.MenuLabel
{
Layout.fillWidth
:
true
Layout.minimumWidth
:
implicitWidth
color
:
root
.
colorContext
.
fg
.
primary
text
:
I18n
.
qtr
(
"
Select profile:
"
)
}
...
...
@@ -79,13 +87,16 @@ WindowDialog {
Widgets.ComboBoxExt
{
id
:
comboBox
Layout.maximumWidth
:
(
root
.
width
/
2
)
Layout.fillWidth
:
(
implicitWidth
>
Layout
.
minimumWidth
)
Layout.minimumWidth
:
VLCStyle
.
combobox_width_large
Layout.minimumHeight
:
VLCStyle
.
combobox_height_normal
// this is not proper way to do it,
// but ComboBoxExt does not provide
// correct implicit width:
implicitWidth
:
implicitContentWidth
font.pixelSize
:
VLCStyle
.
fontSize_normal
width
:
VLCStyle
.
combobox_width_large
height
:
VLCStyle
.
combobox_height_normal
delegate
:
ItemDelegate
{
width
:
comboBox
.
width
leftPadding
:
comboBox
.
leftPadding
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment