╭ changed ─╮ │src/ui.zig│ ╰──────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │115 const inner_box = &self.scroll.child.box; │ │116 │ │117 { │ │118 - var text_box = try wgt.TextBox(Widget).init(allocator, "this is a TextBox", .{ .border_style = .single, .wrap_kind = .none }); │ │118 + var text_box = try wgt.TextBox(Widget).init(allocator, "this is a TextBox", .{ .border_style = .single, .rounded_corners = true, .wrap_kind = .none });│ │119 errdefer text_box.deinit(); │ │120 text_box.getFocus().focusable = true; │ │121 try inner_box.children.put(allocator, text_box.getFocus().id, .{ .widget = .{ .text_box = text_box }, .rect = null, .min_size = null }); │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │122 } │ │123 │ │124 { │ │125 - var text_box = try wgt.TextBox(Widget).init(allocator, "this is a\nmulti-line TextBox", .{ .border_style = .single, .wrap_kind = .none }); │ │125 + var text_box = try wgt.TextBox(Widget).init(allocator, "this is a\nmulti-line TextBox", .{ .border_style = .single, .rounded_corners = true, .wrap_kind = .none });│ │126 errdefer text_box.deinit(); │ │127 text_box.getFocus().focusable = true; │ │128 try inner_box.children.put(allocator, text_box.getFocus().id, .{ .widget = .{ .text_box = text_box }, .rect = null, .min_size = null }); │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ │146 commit.widget.text_box.options.border_style = if (self.getFocus().child_id == id)│ │147 (if (root_focus.grandchild_id == id) .double else .single) │ │148 else │ │149 - .hidden; │ │149 + .single; │ │150 } │ │151 try self.scroll.build(constraint, root_focus); │ │152 } │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯