diff --git a/dotfiles/quickshell/hyprchrome/widgets/host/HostPanel.qml b/dotfiles/quickshell/hyprchrome/widgets/host/HostPanel.qml index 829fb55..7cdd2ce 100644 --- a/dotfiles/quickshell/hyprchrome/widgets/host/HostPanel.qml +++ b/dotfiles/quickshell/hyprchrome/widgets/host/HostPanel.qml @@ -153,7 +153,6 @@ BarPanel { } Text { - y: 32 text: (panel.userName || "NODE") + " // " + (panel.zoneName || "LOCAL") color: Theme.accent font.family: Theme.microFont @@ -166,21 +165,25 @@ BarPanel { // Rule between identity and clock, the same hairline the dense bar // puts between its host name and node readout. Rectangle { - Layout.alignment: Qt.AlignCenter - y: 2 - width: 2 - height: parent.height - 8 + // The layout owns x/y/width/height: the 8px inset that was + // `height: parent.height - 8` becomes margins, and a bare `width: 2` + // would be overridden. + Layout.preferredWidth: 2 + Layout.fillHeight: true + Layout.topMargin: 4 + Layout.bottomMargin: 4 color: Theme.hair } Column { id: clock + // Both columns share the width evenly, as before. `width: 210` here was + // dead — a layout assigns width — and `Layout.alignment` is ignored + // while an item fills. Layout.fillWidth: true Layout.fillHeight: true - Layout.alignment: Qt.AlignRight - width: 210 spacing: 2 Text {