From b48e0ebb37daf64e5246ec6c7b883b47dd823c76 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Fri, 3 Apr 2020 10:39:03 +0200 Subject: [PATCH] [branding] Introduce placement options for nav, sidebar - There's no real reason to force the sidebar left and nav at the bottom, certainly with QML supporting more layouts and being more flexible, so document a mechanism to place the sidebar and navigation along "edges" of the Calamares window. --- src/branding/default/branding.desc | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/branding/default/branding.desc b/src/branding/default/branding.desc index 365af30e9..b6694d1f4 100644 --- a/src/branding/default/branding.desc +++ b/src/branding/default/branding.desc @@ -45,12 +45,25 @@ windowPlacement: center # - "widget" or unset, use traditional sidebar (logo, items) # - "none", hide it entirely # - "qml", use calamares-sidebar.qml from branding folder +# In addition, you **may** specify a side, separated by a comma, +# from the kind. Valid sides are: +# - "left" (if not specified, uses this) +# - "right" +# - "top" +# - "bottom" +# For instance, "widget,right" is valid; so is "qml", which defaults +# to putting the sidebar on the left. Also valid is "qml,top". +# While "widget,top" is valid, the widgets code is **not** flexible +# and results will be terrible. sidebar: widget # Kind of navigation (button panel on the bottom). # - "widget" or unset, use traditional navigation # - "none", hide it entirely # - "qml", use calamares-navigation.qml from branding folder +# In addition, you **may** specify a side, separated by a comma, +# from the kind. The same sides are valid as for *sidebar*, +# except the default is *bottom*. navigation: widget # These are strings shown to the user in the user interface.