better height/width for bar
C++ / fmt (pull_request) Successful in 3s
JS/TS / fmt (pull_request) Successful in 14s
JS/TS / lint (pull_request) Successful in 19s
Python / lint (pull_request) Successful in 30s
Python / fmt (pull_request) Successful in 34s
Python / test (pull_request) Successful in 1m0s
Python / typecheck (pull_request) Failing after 1m18s
C++ / build (pull_request) Successful in 1m49s
Rust / fmt (pull_request) Successful in 33s
Rust / build (pull_request) Successful in 1m33s
Rust / clippy (pull_request) Successful in 1m17s
Python / buildcheck (pull_request) Successful in 2m40s
C++ / clang-tidy (pull_request) Successful in 3m25s
C++ / fmt (pull_request) Successful in 3s
JS/TS / fmt (pull_request) Successful in 14s
JS/TS / lint (pull_request) Successful in 19s
Python / lint (pull_request) Successful in 30s
Python / fmt (pull_request) Successful in 34s
Python / test (pull_request) Successful in 1m0s
Python / typecheck (pull_request) Failing after 1m18s
C++ / build (pull_request) Successful in 1m49s
Rust / fmt (pull_request) Successful in 33s
Rust / build (pull_request) Successful in 1m33s
Rust / clippy (pull_request) Successful in 1m17s
Python / buildcheck (pull_request) Successful in 2m40s
C++ / clang-tidy (pull_request) Successful in 3m25s
This commit is contained in:
+2
-20
@@ -92,8 +92,6 @@ GridLayout {
|
||||
roleValue: "hyprsunset"
|
||||
|
||||
delegate: EntryWrapper {
|
||||
Layout.fillWidth: !root.horizontal
|
||||
|
||||
HyprsunsetWidget {
|
||||
horizontal: root.horizontal
|
||||
visible: !root.fullscreen
|
||||
@@ -126,8 +124,6 @@ GridLayout {
|
||||
roleValue: "tray"
|
||||
|
||||
delegate: EntryWrapper {
|
||||
Layout.fillWidth: !root.horizontal
|
||||
|
||||
TrayIcons {
|
||||
horizontal: root.horizontal
|
||||
loader: root
|
||||
@@ -141,8 +137,6 @@ GridLayout {
|
||||
roleValue: "statusIcons"
|
||||
|
||||
delegate: EntryWrapper {
|
||||
Layout.fillWidth: !root.horizontal
|
||||
|
||||
StatusIcons {
|
||||
horizontal: root.horizontal
|
||||
}
|
||||
@@ -153,8 +147,6 @@ GridLayout {
|
||||
roleValue: "resources"
|
||||
|
||||
delegate: EntryWrapper {
|
||||
Layout.fillWidth: !root.horizontal
|
||||
|
||||
Resources {
|
||||
horizontal: root.horizontal
|
||||
visibilities: root.visibilities
|
||||
@@ -167,8 +159,6 @@ GridLayout {
|
||||
roleValue: "updates"
|
||||
|
||||
delegate: EntryWrapper {
|
||||
Layout.fillWidth: !root.horizontal
|
||||
|
||||
UpdatesWidget {
|
||||
horizontal: root.horizontal
|
||||
visible: !root.fullscreen
|
||||
@@ -180,8 +170,6 @@ GridLayout {
|
||||
roleValue: "notifBell"
|
||||
|
||||
delegate: EntryWrapper {
|
||||
Layout.fillWidth: !root.horizontal
|
||||
|
||||
NotifBell {
|
||||
horizontal: root.horizontal
|
||||
popouts: root.popouts
|
||||
@@ -195,8 +183,6 @@ GridLayout {
|
||||
roleValue: "clock"
|
||||
|
||||
delegate: EntryWrapper {
|
||||
Layout.fillWidth: !root.horizontal
|
||||
|
||||
Clock {
|
||||
horizontal: root.horizontal
|
||||
loader: root
|
||||
@@ -211,8 +197,6 @@ GridLayout {
|
||||
roleValue: "activeWindow"
|
||||
|
||||
delegate: EntryWrapper {
|
||||
Layout.fillWidth: !root.horizontal
|
||||
|
||||
WindowTitle {
|
||||
bar: root
|
||||
horizontal: root.horizontal
|
||||
@@ -234,8 +218,6 @@ GridLayout {
|
||||
roleValue: "media"
|
||||
|
||||
delegate: EntryWrapper {
|
||||
Layout.fillWidth: !root.horizontal
|
||||
|
||||
MediaWidget {
|
||||
horizontal: root.horizontal
|
||||
visible: !root.fullscreen
|
||||
@@ -253,8 +235,8 @@ GridLayout {
|
||||
|
||||
Layout.alignment: root.horizontal ? Qt.AlignVCenter : Qt.AlignHCenter
|
||||
Layout.bottomMargin: !root.horizontal && index === repeater.count - 1 ? root.vPadding : 0
|
||||
Layout.leftMargin: root.horizontal && index === 0 ? root.vPadding : (entryId === "statusIcons" && root.horizontal) ? -root.rowSpacing + Appearance.spacing.extraSmall : root.horizontal ? 0 : Appearance.padding.smaller
|
||||
Layout.rightMargin: root.horizontal && index === repeater.count - 1 ? root.vPadding : root.horizontal ? 0 : Appearance.padding.smaller
|
||||
Layout.leftMargin: root.horizontal && index === 0 ? root.vPadding : (entryId === "statusIcons" && root.horizontal) ? -root.rowSpacing + Appearance.spacing.extraSmall : 0
|
||||
Layout.rightMargin: root.horizontal && index === repeater.count - 1 ? root.vPadding : 0
|
||||
Layout.topMargin: !root.horizontal && index === 0 ? root.vPadding : (entryId === "statusIcons" && !root.horizontal) ? -root.columnSpacing + Appearance.spacing.extraSmall : 0
|
||||
children: item
|
||||
implicitHeight: item?.implicitHeight ?? 0
|
||||
|
||||
@@ -10,13 +10,13 @@ Item {
|
||||
id: root
|
||||
|
||||
readonly property int clampedExtent: Math.max(Config.bar.border, extent)
|
||||
readonly property int contentThickness: Math.max(Config.bar.height, (horizontal ? 24 : 30)) + padding * 2
|
||||
readonly property int contentThickness: Math.max(Config.bar.height, 30) + padding * 2
|
||||
readonly property int exclusiveZone: Config.bar.autoHide ? Config.bar.border : contentThickness
|
||||
property real extent: fullscreen ? 0 : Config.bar.border
|
||||
required property bool fullscreen
|
||||
readonly property bool horizontal: position !== "left"
|
||||
property bool isHovered
|
||||
readonly property int padding: horizontal ? Math.max(Appearance.padding.smaller, Config.bar.border) : Math.max(Appearance.padding.larger, Config.bar.border)
|
||||
readonly property int padding: Appearance.padding.smaller
|
||||
required property Wrapper popouts
|
||||
required property ClipWrapper popoutsWrapper
|
||||
required property string position
|
||||
|
||||
Reference in New Issue
Block a user