forked from Shinonome/dots-hyprland
fix session screen button size
This commit is contained in:
@@ -32,9 +32,6 @@ Button {
|
|||||||
property color colRipple: Appearance?.colors.colLayer1Active ?? "#D6CEE2"
|
property color colRipple: Appearance?.colors.colLayer1Active ?? "#D6CEE2"
|
||||||
property color colRippleToggled: Appearance?.colors.colPrimaryActive ?? "#D6CEE2"
|
property color colRippleToggled: Appearance?.colors.colPrimaryActive ?? "#D6CEE2"
|
||||||
|
|
||||||
implicitWidth: contentItem.implicitWidth + horizontalPadding * 2
|
|
||||||
implicitHeight: contentItem.implicitHeight + verticalPadding * 2
|
|
||||||
|
|
||||||
property color buttonColor: root.enabled ? (root.toggled ?
|
property color buttonColor: root.enabled ? (root.toggled ?
|
||||||
(root.hovered ? colBackgroundToggledHover :
|
(root.hovered ? colBackgroundToggledHover :
|
||||||
colBackgroundToggled) :
|
colBackgroundToggled) :
|
||||||
|
|||||||
@@ -15,6 +15,9 @@ RippleButton {
|
|||||||
property string displayText: ""
|
property string displayText: ""
|
||||||
colBackground: Appearance.colors.colLayer2
|
colBackground: Appearance.colors.colLayer2
|
||||||
|
|
||||||
|
implicitWidth: contentItem.implicitWidth + horizontalPadding * 2
|
||||||
|
implicitHeight: contentItem.implicitHeight + verticalPadding * 2
|
||||||
|
|
||||||
contentItem: Item {
|
contentItem: Item {
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
implicitWidth: languageRow.implicitWidth
|
implicitWidth: languageRow.implicitWidth
|
||||||
|
|||||||
Reference in New Issue
Block a user