Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Q
qtquickcontrols-nemo
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
NemoMobile
qtquickcontrols-nemo
Commits
64263400
Commit
64263400
authored
Sep 20, 2017
by
eetu
Committed by
GitHub
Sep 20, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into master
parents
03c77737
bad236c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
3 deletions
+14
-3
TabViewStyle.qml
src/styles/TabViewStyle.qml
+14
-3
No files found.
src/styles/TabViewStyle.qml
View file @
64263400
/*
* Copyright (C) 2013 Andrea Bernabei <and.bernabei@gmail.com>
* Copyright (C) 2017 Chupligin Sergey <neochapay@gmail.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
...
...
@@ -18,7 +19,9 @@
*/
import
QtQuick
2.6
import
QtQuick
.
Controls
.
Nemo
1.0
import
QtQuick
.
Controls
.
Styles
1.0
import
QtQuick
.
Controls
.
Styles
.
Nemo
1.0
TabViewStyle
{
tabsAlignment
:
Qt
.
AlignVCenter
...
...
@@ -31,10 +34,9 @@ TabViewStyle {
anchors.fill
:
parent
border.bottom
:
Theme
.
itemSpacingExtraSmall
border.top
:
Theme
.
itemSpacingExtraSmall
source
:
styleData
.
selected
?
"
/usr/share/glacier-components/images/tab_selected.png
"
:
"
/usr/share/glacier-components/images/tabs_standard.png
"
Text
{
anchors.centerIn
:
parent
color
:
Theme
.
textColor
color
:
(
styleData
.
selected
)
?
Theme
.
accentColor
:
Theme
.
textColor
text
:
styleData
.
title
.
toUpperCase
()
font.pixelSize
:
Theme
.
fontSizeTiny
}
...
...
@@ -43,9 +45,18 @@ TabViewStyle {
anchors.top
:
parent
.
top
anchors.bottom
:
parent
.
bottom
anchors.margins
:
Theme
.
itemSpacingExtraSmall
width
:
1
width
:
size
.
ratio
(
1
)
color
:
Theme
.
fillDarkColor
}
Rectangle
{
visible
:
styleData
.
selected
width
:
parent
.
width
height
:
size
.
ratio
(
1
)
color
:
Theme
.
accentColor
anchors
{
bottom
:
parent
.
bottom
}
}
}
}
}
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