Skip to content
This repository has been archived by the owner on Oct 14, 2018. It is now read-only.

Commit

Permalink
actually theme toolbars #3
Browse files Browse the repository at this point in the history
  • Loading branch information
milohr committed Mar 27, 2018
1 parent befd1db commit fbd507a
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
8 changes: 8 additions & 0 deletions Page.qml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,14 @@ import org.kde.kirigami 2.2 as Kirigami
T.Page {
id: control

leftPadding: 0

topPadding: 0

rightPadding: 0

bottomPadding: 0

implicitWidth: Math.max(background ? background.implicitWidth : 0,
Math.max(contentWidth,
header && header.visible ? header.implicitWidth : 0,
Expand Down
2 changes: 1 addition & 1 deletion ToolBar.qml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ T.ToolBar {
{
left: parent.left
right: parent.right
bottom: isFooter? undefined : parent.bottom
bottom: !isFooter ? parent.bottom : undefined
}
}

Expand Down
10 changes: 9 additions & 1 deletion ToolBar.qml~
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,15 @@ T.ToolBar {
}
}


Kirigami.Separator
{
anchors
{
left: parent.left
right: parent.right
bottom: !isFooter ? parent.bottom : undefined
}
}

}
}

0 comments on commit fbd507a

Please sign in to comment.