Commit 57dba2e7 authored by Fabian Riethmayer's avatar Fabian Riethmayer

Merge branch 'inlinemsg' into 'master'

Added example code to inline message

See merge request websites/hig-kde-org!7
parents f6345c35 4b2e650d
Inline message
.. container:: intend
|desktopicon| |mobileicon|
......@@ -137,3 +142,35 @@ If there is not enough space to display all the buttons, an overflow menu is sho
:scale: 80%
Inline message with overflow menu.
.. code-block:: qml
import QtQuick.Controls 2.2 as Controls
import org.kde.kirigami 2.4 as Kirigami
Kirigami.InlineMessage {
visible: true
text: i18n("&Remember password?")
type: Kirigami.MessageType.Positive
showCloseButton: true
actions: [
Kirigami.Action {
text: i18n("&Remember") "dialog-ok-apply"
Kirigami.Action {
text: i18n("&Do not remember") "dialog-cancel"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment