A quick update, showcasing another new feature for the upcoming version of Leaf Node Monitoring (v2022.02), responsive layouts.
The previous version has a set width/height for the host cards and check tiles, in a big long column, just 1 row. Widen the window, host cards also widen. With this change, the host cards no longer automatically widen, but once the window is big enough, 2 rows will appear.
Here is a GIF showcasing the new responsive behavior:
(stuttering is due to the GIF screen recording, actual app performs way better)
The old layout just became as wide as the screen:
I’ve added a collapsible menu right on the monitoring screen so you can resize and directly see the result. The new options are also available in the settings screen.
This responsive layout feature was requested by a user that runs Leaf Node Monitoring on a tablet and wanted to use the screen real estate better.
The technical details on how to make a responsive QML layout can be found here: https://raymii.org/s/articles/Responsive_Qml_layout_with_scrollbars.html – Using QML layouts, I can dynamically add or remove columns or rows in the grid layout that holds either the host cards or check tiles. I also added a short animation on resize, as eye candy and also because QML makes that so easy.
One more sneak peek
I’ve also added a right-click menu to the tray icon with
a few useful features:
Just because I missed that feature myself.