Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linphone-desktop
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
linphone-desktop
Commits
62428fa1
Commit
62428fa1
authored
Jun 09, 2017
by
Wescoeur
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(ui/modules/Common/Form/ComboBox): add a left margin (qt 5.9)
parent
ca1f4a44
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
14 deletions
+24
-14
ComboBox.qml
linphone-desktop/ui/modules/Common/Form/ComboBox.qml
+23
-14
ComboBoxStyle.qml
...e-desktop/ui/modules/Common/Styles/Form/ComboBoxStyle.qml
+1
-0
No files found.
linphone-desktop/ui/modules/Common/Form/ComboBox.qml
View file @
62428fa1
...
@@ -33,10 +33,18 @@ ComboBox {
...
@@ -33,10 +33,18 @@ ComboBox {
// ---------------------------------------------------------------------------
// ---------------------------------------------------------------------------
contentItem
:
RowLayout
{
contentItem
:
Item
{
spacing
:
ComboBoxStyle
.
contentItem
.
spacing
height
:
comboBox
.
height
width
:
comboBox
.
width
width
:
comboBox
.
width
RowLayout
{
anchors
{
fill
:
parent
leftMargin
:
ComboBoxStyle
.
contentItem
.
leftMargin
}
spacing
:
ComboBoxStyle
.
contentItem
.
spacing
Icon
{
Icon
{
icon
:
Logic
.
getSelectedEntryIcon
()
icon
:
Logic
.
getSelectedEntryIcon
()
iconSize
:
ComboBoxStyle
.
contentItem
.
iconSize
iconSize
:
ComboBoxStyle
.
contentItem
.
iconSize
...
@@ -56,6 +64,7 @@ ComboBox {
...
@@ -56,6 +64,7 @@ ComboBox {
text
:
Logic
.
getSelectedEntryText
()
text
:
Logic
.
getSelectedEntryText
()
}
}
}
}
}
// ---------------------------------------------------------------------------
// ---------------------------------------------------------------------------
...
...
linphone-desktop/ui/modules/Common/Styles/Form/ComboBoxStyle.qml
View file @
62428fa1
...
@@ -22,6 +22,7 @@ QtObject {
...
@@ -22,6 +22,7 @@ QtObject {
property
QtObject
contentItem
:
QtObject
{
property
QtObject
contentItem
:
QtObject
{
property
int
iconSize
:
20
property
int
iconSize
:
20
property
int
leftMargin
:
10
property
int
spacing
:
5
property
int
spacing
:
5
property
QtObject
text
:
QtObject
{
property
QtObject
text
:
QtObject
{
...
...
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