╭ changed ────────╮ │src/ui/widget.zig│ ╰─────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭─────────────────────────────────────────────────────────────────────────╮ │80 user_settings: ui.UserSettings.View, │ │81 user_keys: ui.UserKeys.View, │ │82 user_notifications: ui.UserNotifications.View, │ │83 + delete_form: ui.Delete.View, │ │84 footer: Footer, │ │85 │ │86 pub fn deinit(self: *Widget, allocator: std.mem.Allocator) void {│ ╰─────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │123 pub fn atTop(self: *Widget, root_focus: *Focus) bool { │ │124 return switch (self.*) { │ │125 inline .home_about, .home_users, .user_repos, .flow_box_scroll, .new_repo, .new_user, .user_login, .user_notifications, .quit, .repo_files, .repo_commits, .diff_view, .repo_refs, .repo_issues, .repo_patches, .repo_discussions, .repo_events, .repo_undo, .repo_settings, .repo_settings_form, .repo_members, .repo_branches, .user_keys => |*view| view.atTop(),│ │125 - inline .repo_patch_detail, .user_settings => |*view| view.atTop(root_focus), │ │126 + inline .repo_patch_detail, .user_settings, .delete_form => |*view| view.atTop(root_focus), │ │127 else => false, │ │128 }; │ │129 } │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │1634 button.min_size = .{ .width = label.len + 2, .height = null }; │ │1635 } │ │1636 │ │1637 + pub fn setBorder(self: *SubmitButton, border: wgt.Border) void { │ │1638 + self.box.children.values()[1].widget.text_box.options.border = border; │ │1639 + } │ │1640 + │ │1641 pub fn build(self: *SubmitButton, allocator: std.mem.Allocator, constraint: layout.Constraint, root_focus: *Focus) !void {│ │1642 try self.box.build(allocator, constraint, root_focus); │ │1643 } │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯