Skip to content

Commit

Permalink
fix incorrect width in example
Browse files Browse the repository at this point in the history
  • Loading branch information
reykjalin committed Jan 28, 2025
1 parent 447e55b commit 0c341b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/scroll.zig
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const ModelRow = struct {

return .{
.size = .{
.width = idx_surf.surface.size.width + text_surf.surface.size.width,
.width = 6 + text_surf.surface.size.width,
.height = @max(idx_surf.surface.size.height, text_surf.surface.size.height),
},
.widget = self.widget(),
Expand Down

0 comments on commit 0c341b3

Please sign in to comment.