Skip to content

Commit

Permalink
Remove Auto Scrolling container
Browse files Browse the repository at this point in the history
Functionality rolled into Scrolling container
  • Loading branch information
MyreMylar committed Apr 13, 2024
1 parent abff0e5 commit 1a2816b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pygame_gui/elements/ui_form.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import pygame

from pygame_gui._constants import UI_BUTTON_PRESSED, OldType, UI_FORM_SUBMITTED
from pygame_gui._constants import UI_BUTTON_PRESSED, UI_FORM_SUBMITTED
from pygame_gui.core import UIElement, ObjectID
from pygame_gui.core.interfaces import IUIElementInterface, IUIManagerInterface, IContainerLikeInterface
from pygame_gui.core.drawable_shapes import RectDrawableShape, RoundedRectangleShape
from pygame_gui.elements import UIAutoResizingContainer, UIAutoScrollingContainer
from pygame_gui.elements import UIAutoResizingContainer, UIScrollingContainer
from pygame_gui.elements import UITextEntryLine, UITextEntryBox, UISelectionList, UIDropDownMenu, UILabel, UIButton

import re
Expand Down Expand Up @@ -314,7 +314,7 @@ def process_event(self, event: pygame.event.Event) -> bool:
return False # Should the section expansion/contraction events be consumed?


class UIForm(UIAutoScrollingContainer):
class UIForm(UIScrollingContainer):
"""
UIForm is used to create basic forms which can contain text fields, text boxes, dropdowns and more. The form can be
divided in sections. A section can be expanded/contracted using a button. It also creates a submit button which will
Expand Down

0 comments on commit 1a2816b

Please sign in to comment.