mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-15 17:20:08 +00:00
init invisible by default
This commit is contained in:
parent
d0f61aab5e
commit
4d47dd4385
@ -19,7 +19,11 @@ impl File {
|
||||
/// Create new `Self`
|
||||
pub fn new(action: Rc<Action>) -> Self {
|
||||
// Init `GObject`
|
||||
let gobject = Button::builder().label(LABEL).margin_top(MARGIN).build();
|
||||
let gobject = Button::builder()
|
||||
.label(LABEL)
|
||||
.margin_top(MARGIN)
|
||||
.visible(false)
|
||||
.build();
|
||||
|
||||
// Init events
|
||||
gobject.connect_clicked(move |_| todo!());
|
||||
|
Loading…
x
Reference in New Issue
Block a user