mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
init invisible by default
This commit is contained in:
parent
d0f61aab5e
commit
4d47dd4385
1 changed files with 5 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue