mirror of
https://github.com/Xetibo/ReSet.git
synced 2025-07-12 12:57:44 +02:00
chore: Update lib
This commit is contained in:
parent
0eb85fdf7c
commit
c5c5f6761e
30 changed files with 62 additions and 49 deletions
|
@ -1,7 +1,7 @@
|
|||
use adw::glib::clone;
|
||||
use adw::subclass::prelude::ObjectSubclassIsExt;
|
||||
use adw::{ApplicationWindow, BreakpointCondition};
|
||||
use glib::{closure_local, Object};
|
||||
use adw::BreakpointCondition;
|
||||
use glib::Object;
|
||||
use gtk::prelude::*;
|
||||
use gtk::{gio, glib, Application, ListBoxRow, Orientation};
|
||||
|
||||
|
|
|
@ -85,8 +85,8 @@ impl WidgetImpl for ReSetWindow {
|
|||
self.reset_main.set_margin_start(100);
|
||||
self.reset_main.set_margin_end(100);
|
||||
} else if width > 600 {
|
||||
self.reset_main.set_margin_start((width - 600)/2);
|
||||
self.reset_main.set_margin_end((width - 600)/2);
|
||||
self.reset_main.set_margin_start((width - 600) / 2);
|
||||
self.reset_main.set_margin_end((width - 600) / 2);
|
||||
} else {
|
||||
self.reset_main.set_margin_start(0);
|
||||
self.reset_main.set_margin_end(0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue