diff --git a/system/ui/widgets/option_dialog.py b/system/ui/widgets/option_dialog.py index 3140f419f5..8f33124b5c 100644 --- a/system/ui/widgets/option_dialog.py +++ b/system/ui/widgets/option_dialog.py @@ -37,7 +37,7 @@ class MultiOptionDialog(Widget): options_y = content_rect.y + TITLE_FONT_SIZE + ITEM_SPACING options_h = content_rect.height - TITLE_FONT_SIZE - BUTTON_HEIGHT - 2 * ITEM_SPACING view_rect = rl.Rectangle(content_rect.x, options_y, content_rect.width, options_h) - content_h = len(self.options) * (ITEM_HEIGHT + 10) + content_h = len(self.options) * (ITEM_HEIGHT + LIST_ITEM_SPACING) list_content_rect = rl.Rectangle(content_rect.x, options_y, content_rect.width, content_h) # Scroll and render options