mirror of
https://gitlab.com/gabmus/envision.git
synced 2025-09-21 16:58:39 +00:00
fix: margin on refresh button
This commit is contained in:
parent
528afe12ab
commit
4703ba63c9
1 changed files with 2 additions and 1 deletions
|
@ -289,7 +289,6 @@ impl SimpleComponent for MainView {
|
||||||
set_spacing: 12,
|
set_spacing: 12,
|
||||||
set_margin_top: 12,
|
set_margin_top: 12,
|
||||||
set_margin_bottom: 12,
|
set_margin_bottom: 12,
|
||||||
// TODO: maybe add manual refresh btn?
|
|
||||||
#[track = "model.changed(Self::selected_profile())"]
|
#[track = "model.changed(Self::selected_profile())"]
|
||||||
set_visible: match get_amd_gpu_power_profile() {
|
set_visible: match get_amd_gpu_power_profile() {
|
||||||
None => false,
|
None => false,
|
||||||
|
@ -378,6 +377,8 @@ impl SimpleComponent for MainView {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
gtk::Button {
|
gtk::Button {
|
||||||
|
set_margin_start: 12,
|
||||||
|
set_margin_end: 12,
|
||||||
set_halign: gtk::Align::Start,
|
set_halign: gtk::Align::Start,
|
||||||
set_label: "Refresh",
|
set_label: "Refresh",
|
||||||
connect_clicked[sender] => move |_| {
|
connect_clicked[sender] => move |_| {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue