mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Add option for enable/disable apply AC/Bat policy on change
This commit is contained in:
@@ -5,7 +5,8 @@ export component RogItem inherits Rectangle {
|
||||
border-color: Palette.border;
|
||||
border-width: 3px;
|
||||
border-radius: 10px;
|
||||
min-height: 46px;
|
||||
min-height: 48px;
|
||||
max-height: 56px;
|
||||
}
|
||||
|
||||
export component SystemSlider inherits RogItem {
|
||||
@@ -54,6 +55,7 @@ export component SystemToggle inherits RogItem {
|
||||
in-out property <bool> checked;
|
||||
callback toggled(bool);
|
||||
HorizontalLayout {
|
||||
spacing: 6px;
|
||||
HorizontalLayout {
|
||||
alignment: LayoutAlignment.start;
|
||||
padding-left: 10px;
|
||||
@@ -195,7 +197,7 @@ export component PopupNotification {
|
||||
}
|
||||
}
|
||||
|
||||
public function show() {
|
||||
public function show(){
|
||||
_p.show();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user