Change button to label
This commit is contained in:
parent
a795200245
commit
9242681bb2
@ -59,8 +59,7 @@ impl OutputsSettings {
|
||||
.monospace(),
|
||||
));
|
||||
ui.label("Display Power Management");
|
||||
if ui
|
||||
.button(WidgetText::RichText(
|
||||
ui.label(WidgetText::RichText(
|
||||
RichText::new(match output.display_power_managment {
|
||||
true => "On",
|
||||
false => "Off",
|
||||
@ -72,11 +71,7 @@ impl OutputsSettings {
|
||||
.monospace()
|
||||
.code()
|
||||
.strong(),
|
||||
))
|
||||
.clicked()
|
||||
{
|
||||
//
|
||||
}
|
||||
));
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user