Windows 0.3.3 dashboard layout and speed presentation source delta; no private history or other platform changes

This commit is contained in:
2026-11-03 15:15:23 +00:00
parent bfe8d6c62a
commit aff1a50d35
32 changed files with 1673 additions and 652 deletions
+3 -3
View File
@@ -111,18 +111,18 @@ internal sealed partial class MainForm
{
ClientSize = new Size(ScaleLogical(size.Width), ScaleLogical(size.Height));
PerformLayout(); LayoutDashboard(); Application.DoEvents();
var rightInset = _nodeCard.ClientSize.Width - _currentNodeLabel.Right;
var rightInset = _modeCard.ClientSize.Width - _currentNodeLabel.Right;
// The node keeps the available row, with only a small edge inset.
// Exact decorative padding can differ between compact and wide UI.
var usesRow = _currentNodeLabel.Visible && _currentNodeLabel.Left >= 0
&& rightInset >= 0 && rightInset <= ScaleLogical(16)
&& _currentNodeLabel.Width >= _nodeCard.ClientSize.Width * .75;
&& _currentNodeLabel.Width >= _modeCard.ClientSize.Width * .75;
result["connected_node_full_row_" + label] = usesRow;
result["connected_node_name_fits_" + label] = TextRenderer.MeasureText(_currentNodeName,
_currentNodeLabel.Font).Width <= _currentNodeLabel.Width;
fullConnectedRow &= usesRow;
}
result["connected_node_gets_full_width"] = fullConnectedRow;
result["connected_node_has_dedicated_actual_state_row"] = fullConnectedRow;
result["connected_mode_badge_does_not_cover_name"] = !_scheduleBadge.Visible;
result["zero3_name_fits_connected_row"] = TextRenderer.MeasureText(_currentNodeName, _currentNodeLabel.Font).Width <= _currentNodeLabel.Width;
Size = MinimumSize;