Skip to content
This repository has been archived by the owner on Jan 22, 2022. It is now read-only.

theme support for the tab list (Rectangle instead of BorderImage) and current zoom text #146

Merged
merged 1 commit into from
Feb 8, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/app/WebViewImpl.qml
Original file line number Diff line number Diff line change
Expand Up @@ -798,6 +798,7 @@ WebView {
anchors.top: zoomActionsRow.bottom
anchors.right: zoomActionsRow.right
text: i18n.tr("Current Zoom") + ": " + Math.round(zoomController.currentZoomFactor * 100) + "%"
color: theme.palette.normal.backgroundText
width: zoomActionsRow.width
horizontalAlignment: Text.AlignHCenter
}
Expand Down
9 changes: 4 additions & 5 deletions src/app/webbrowser/TabItem.qml
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,13 @@ Item {
signal closed()
signal contextMenu()

BorderImage {
Rectangle {
id: tabImage
anchors.fill: parent
anchors.rightMargin: tabItem.rightMargin
source: "assets/tab-%1%2.sci".arg((active) ? "active" :
(hoverArea.containsMouse ? "hover" : "non-active"))
.arg(touchEnabled ? "" : "-desktop")
asynchronous: true
color: theme.palette.normal.background
border.color: theme.palette.normal.base
radius: units.gu(0.5)

Favicon {
id: favicon
Expand Down