Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Angelfish
Manage
Activity
Members
Labels
Plan
Issues
57
Issue boards
Milestones
Wiki
Bugzilla
Code
Merge requests
6
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Network
Angelfish
Merge requests
!18
Display tab title
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Display tab title
tab-title
into
master
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Jonah Brüchert
requested to merge
tab-title
into
master
5 years ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
👍
0
👎
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
9b97e7fb
1 commit,
5 years ago
1 file
+
14
−
10
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
src/contents/ui/Tabs.qml
+
14
−
10
Options
@@ -109,17 +109,7 @@ Kirigami.ScrollablePage {
tabs
.
positionViewAtIndex
(
index
,
ListView
.
Beginning
);
//tabs.positionViewAtEnd();
pageStack
.
layers
.
pop
()
return
;
if
(
tabItem
.
width
<
tabsRoot
.
width
)
{
// tabItem.width = currentWebView.width
// tabItem.height = currentWebView.height
}
else
{
tabItem
.
width
=
itemWidth
tabItem
.
height
=
itemHeight
}
}
}
Controls.ToolButton
{
@@ -132,6 +122,20 @@ Kirigami.ScrollablePage {
anchors.topMargin
:
Kirigami
.
Units
.
smallSpacing
onClicked
:
tabs
.
closeTab
(
index
)
}
Controls.Label
{
anchors
{
left
:
tabItem
.
left
right
:
tabItem
.
right
bottom
:
tabItem
.
bottom
margins
:
Kirigami
.
Units
.
gridUnit
*
0.5
}
width
:
itemWidth
text
:
tabs
.
itemAt
(
tabs
.
pageWidth
*
index
,
0
).
title
elide
:
Qt
.
ElideRight
}
}
footer
:
Item
{
Loading