╭──────────╮ │← previous│ ╰──────────╯ ╭ changed ───────────╮ │src/ui/Repo/Undo.zig│ ╰────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │494 // a labeled row below the timestamp, added as the selected action needs it │ │495 fn addLabeled(allocator: std.mem.Allocator, box: *wgt.Box(ui.Widget), label: []const u8, text: []const u8, link: ?[]const u8) !void {│ │496 try addText(allocator, box, text, link, .single); │ │497 - box.children.values()[box.children.count() - 1].widget.text_box.options.label = label; │ │497 + box.children.values()[box.children.count() - 1].widget.text_box.options.top_label.text = label; │ │498 } │ │499 │ │500 // enter counts only on the focused button; a click counts anywhere on it │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭ changed ──────────╮ │src/ui/SubTitle.zig│ ╰───────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │22 text_box: wgt.TextBox, │ │23 │ │24 pub fn init(allocator: std.mem.Allocator, data: *const Self) !View { │ │25 - var text_box = try wgt.TextBox.init(allocator, data.content, .{ .border_style = null, .wrap_kind = .none });│ │25 + var text_box = try wgt.TextBox.init(allocator, data.content, .{ .border = null, .wrap_kind = .none }); │ │26 errdefer text_box.deinit(allocator); │ │27 return .{ .text_box = text_box }; │ │28 } │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭ changed ───────╮ │src/ui/Title.zig│ ╰────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │29 text_box: wgt.TextBox, │ │30 │ │31 pub fn init(allocator: std.mem.Allocator, data: *const Self) !View { │ │32 - var text_box = try wgt.TextBox.init(allocator, data.content, .{ .border_style = null, .wrap_kind = .none });│ │32 + var text_box = try wgt.TextBox.init(allocator, data.content, .{ .border = null, .wrap_kind = .none }); │ │33 errdefer text_box.deinit(allocator); │ │34 return .{ .text_box = text_box }; │ │35 } │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭ changed ──────────────╮ │src/ui/Unauthorized.zig│ ╰───────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │29 ; │ │30 │ │31 pub fn init(allocator: std.mem.Allocator) !View { │ │32 - var text_box = try wgt.TextBox.init(allocator, message, .{ .border_style = null, .round_corners = false, .wrap_kind = .word });│ │32 + var text_box = try wgt.TextBox.init(allocator, message, .{ .border = null, .round_corners = false, .wrap_kind = .word }); │ │33 errdefer text_box.deinit(allocator); │ │34 return .{ .center = try ui.widget.Center.init(allocator, .{ .text_box = text_box }) }; │ │35 } │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭ changed ──────╮ │src/ui/User.zig│ ╰───────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │180 const stack_index: usize = 1; │ │181 │ │182 pub fn init(allocator: std.mem.Allocator, data: *const Self, session: *ui.Session) !View { │ │183 - var box = try wgt.Box(ui.Widget).init(allocator, .{ .border_style = null, .round_corners = true, .direction = .vert });│ │183 + var box = try wgt.Box(ui.Widget).init(allocator, .{ .border = null, .round_corners = true, .direction = .vert }); │ │184 errdefer box.deinit(allocator); │ │185 │ │186 // build the header first so we can grab the repos-tab id for the user │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │359 const list_index = 1; │ │360 │ │361 pub fn init(allocator: std.mem.Allocator, data: *const Self, session: *ui.Session) !ReposView { │ │362 - var box = try wgt.Box(ui.Widget).init(allocator, .{ .border_style = null, .direction = .vert });│ │362 + var box = try wgt.Box(ui.Widget).init(allocator, .{ .border = null, .direction = .vert }); │ │363 errdefer box.deinit(allocator); │ │364 │ │365 { │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │366 - var header = try wgt.Box(ui.Widget).init(allocator, .{ .border_style = null, .direction = .horiz }); │ │366 + var header = try wgt.Box(ui.Widget).init(allocator, .{ .border = null, .direction = .horiz }); │ │367 errdefer header.deinit(allocator); │ │368 { │ │369 var search_box = try ui.widget.SearchBox.init(allocator, session, " search ", "search", data.repos_search);│ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭ changed ─────────────╮ │src/ui/User/Header.zig│ ╰──────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │37 session: *ui.Session, │ │38 │ │39 pub fn init(allocator: std.mem.Allocator, data: *const Self, session: *ui.Session) !View { │ │40 - var box = try wgt.Box(ui.Widget).init(allocator, .{ .border_style = .hidden, .round_corners = true, .direction = .horiz });│ │40 + var box = try wgt.Box(ui.Widget).init(allocator, .{ .border = .hidden, .round_corners = true, .direction = .horiz }); │ │41 errdefer box.deinit(allocator); │ │42 │ │43 - var title_box = try wgt.Box(ui.Widget).init(allocator, .{ .border_style = null, .direction = .horiz }); │ │43 + var title_box = try wgt.Box(ui.Widget).init(allocator, .{ .border = null, .direction = .horiz }); │ │44 var title_box_owned = false; │ │45 errdefer if (!title_box_owned) title_box.deinit(allocator); │ │46 │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │47 - var tabs_box = try wgt.Box(ui.Widget).init(allocator, .{ .border_style = null, .direction = .horiz });│ │47 + var tabs_box = try wgt.Box(ui.Widget).init(allocator, .{ .border = null, .direction = .horiz }); │ │48 var tabs_box_owned = false; │ │49 errdefer if (!tabs_box_owned) tabs_box.deinit(allocator); │ │50 │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │119 │ │120 // repos tab │ │121 { │ │122 - var text_box = try wgt.TextBox.init(allocator, repos_tab_label, .{ .border_style = .single, .round_corners = true, .wrap_kind = .none });│ │122 + var text_box = try wgt.TextBox.init(allocator, repos_tab_label, .{ .border = .single, .round_corners = true, .wrap_kind = .none }); │ │123 errdefer text_box.deinit(allocator); │ │124 text_box.getFocus().mode = .all; │ │125 text_box.getFocus().kind = .{ .custom = repos_link }; │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────╮ │next →│ ╰──────╯