Skip to content

Commit

Permalink
Add fake fullscreen option to Windows
Browse files Browse the repository at this point in the history
Should enable users to work around issue #103
  • Loading branch information
Cuperino committed Sep 15, 2024
1 parent 709d70a commit 14f995a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/kirigami_ui/+windows/main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,14 @@ Kirigami.ApplicationWindow {
checked: root.pageStack.currentItem.document.autoReload
onTriggered: root.pageStack.currentItem.document.autoReload = checked
}
Kirigami.Action {
id: fakeFullscreenSetting
text: i18nc("Main menu actions. Fake fullscreen behavior instead of requesting true fullscreen", "Fake fullscreen behavior")
icon.source: "qrc:/qt/qml/com/cuperino/qprompt/icons/view-fullscreen.svg"
checkable: true
checked: root.__fakeFullscreen
onTriggered: root.__fakeFullscreen = checked
}
}
// Kirigami.Action {
// text: i18nc("Main menu actions", "Restore factory defaults")
Expand Down

0 comments on commit 14f995a

Please sign in to comment.