mirror of
https://github.com/ilya-zlobintsev/LACT.git
synced 2026-08-19 01:14:43 -05:00
fix: alignment
This commit is contained in:
@@ -21,7 +21,7 @@ pub struct RootStack {
|
||||
|
||||
impl RootStack {
|
||||
pub fn new() -> Self {
|
||||
let container = Stack::new();
|
||||
let container = Stack::builder().vexpand(true).build();
|
||||
|
||||
let info_page = InformationPage::new();
|
||||
|
||||
|
||||
@@ -35,7 +35,11 @@ impl PowerCapFrame {
|
||||
});
|
||||
}
|
||||
|
||||
let scale = Scale::new(Orientation::Horizontal, Some(&adjustment));
|
||||
let scale = Scale::builder()
|
||||
.orientation(Orientation::Horizontal)
|
||||
.adjustment(&adjustment)
|
||||
.hexpand(true)
|
||||
.build();
|
||||
|
||||
scale.set_draw_value(false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user