mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-03-10 04:31:14 +00:00
set halign left
This commit is contained in:
parent
67790a0f50
commit
95f24fe1dd
@ -1,4 +1,4 @@
|
||||
use gtk::Button;
|
||||
use gtk::{Align, Button};
|
||||
use std::sync::Arc;
|
||||
|
||||
pub struct Widget {
|
||||
@ -10,6 +10,7 @@ impl Widget {
|
||||
pub fn new_arc() -> Arc<Self> {
|
||||
let gobject = Button::builder()
|
||||
.css_classes(["accent"])
|
||||
.halign(Align::End)
|
||||
.label("Send")
|
||||
.build();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user