Skip to content

Commit

Permalink
Energy Monitor: Disable the desktop view
Browse files Browse the repository at this point in the history
The design is unfortunately not complete yet.
  • Loading branch information
tronical committed Mar 29, 2023
1 parent 99a9057 commit 9124d8f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/energy-monitor/ui/desktop_window.slint
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,14 @@ export component MainWindow inherits Window {
min-height: 240px;
background: Theme.palette.pure-black;

/* The design is not finished yet
if show-big : BigMain {
preferred-width: 100%;
preferred-height: 100%;
}
*/

if show-mid : MidMain {
if show-mid || show-big : MidMain {
preferred-width: 100%;
preferred-height: 100%;
}
Expand Down

0 comments on commit 9124d8f

Please sign in to comment.