mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
set halign left
This commit is contained in:
parent
67790a0f50
commit
95f24fe1dd
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue