Yoda 0.12.10

Browser for Gemini Protocol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use gtk::{Align, Button};

const MARGIN: i32 = 6;

pub fn new() -> Button {
    Button::builder()
        .halign(Align::End)
        .hexpand(true)
        .icon_name("window-close-symbolic")
        .margin_end(MARGIN)
        .margin_start(MARGIN)
        .tooltip_text("Close find bar")
        .valign(Align::Center)
        .vexpand(false)
        .build()
}