D25141: Use a RowLayout for laying out ToolBarPageHeader
Arjen Hiemstra
noreply at phabricator.kde.org
Mon Nov 4 15:19:19 GMT 2019
ahiemstra created this revision.
ahiemstra added a reviewer: Kirigami.
Herald added a project: Kirigami.
Herald added a subscriber: plasma-devel.
ahiemstra requested review of this revision.
REVISION SUMMARY
This uses RowLayout to perform the layout of ToolBarPageHeader. It uses
the titleDelegate's Layout properties to control the layout of the Title
delegate.
TEST PLAN
Run Kirigami Gallery.
All pages behave correctly regarding titles:
- Default view shows title + as many actions as fit into the window
- Resizing the window shows the actions disappearing until only the context action is left, after which the title starts eliding.
- Resizing back to a large size first un-elides the title, then immediately the actions start to appear again.
REPOSITORY
R169 Kirigami
BRANCH
headerLayout
REVISION DETAIL
https://phabricator.kde.org/D25141
AFFECTED FILES
src/controls/ActionToolBar.qml
src/controls/Page.qml
src/controls/private/globaltoolbar/ToolBarPageHeader.qml
To: ahiemstra, #kirigami
Cc: plasma-devel, fbampaloukas, GB_2, domson, dkardarakos, ngraham, apol, ahiemstra, davidedmundson, mart, hein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20191104/95e19eac/attachment.html>
More information about the Plasma-devel
mailing list