╭ changed ─────────────╮ │src/ui/Repo/Header.zig│ ╰──────────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │ 94 const text = try std.fmt.bufPrint(&text_buf, "{s}/", .{data.owner_name}); │ │ 95 const link = try aa.print("a:/{s}", .{data.owner_name}); │ │ 96 │ │ 97 - var text_box = try wgt.TextBox.init(allocator, text, .{ .border = .hidden, .wrap_kind = .none }); │ │ 97 + const private_label = if (page.repo.event.read_access == .private) "(private)" else ""; │ │ 98 + var text_box = try wgt.TextBox.init(allocator, text, .{ .border = .hidden, .wrap_kind = .none, .bottom_label = .{ .text = private_label } });│ │ 99 errdefer text_box.deinit(allocator); │ │100 text_box.getFocus().mode = .all; │ │101 text_box.getFocus().kind = .{ .custom = link }; │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────╮ │101 - first_group_width += try xitui.width.displayWidth(text) + 2; │ │102 + first_group_width += @max(try xitui.width.displayWidth(text), private_label.len) + 2;│ │103 try title_box.children.put(allocator, text_box.getFocus().id, .{ │ │104 .widget = .{ .text_box = text_box }, │ │105 .rect = null, │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────╯