Skip to content

Add reset_layout interface usage example#780

Open
rachelpatrao wants to merge 1 commit into
thoth-tech:mainfrom
rachelpatrao:reset-layout-example
Open

Add reset_layout interface usage example#780
rachelpatrao wants to merge 1 commit into
thoth-tech:mainfrom
rachelpatrao:reset-layout-example

Conversation

@rachelpatrao
Copy link
Copy Markdown

Description

Splashkit Function: reset_layout

Overview of example functionality:
This example demonstrates how reset_layout() restores the interface layout back to the default single-column layout with the default element height. The example first creates a custom three-column layout with modified height settings, then calls reset_layout() before adding more interface elements so beginners can clearly compare the custom layout with the restored default layout.

Example Output:
included as reset_layout-1-example.png

Files Included

  • C++ code
  • C# code (Top-Level statements)
  • C# code (Object-Oriented Programming)
  • Python code
  • Relevant title for the example (.txt)
  • Screenshot

Usage Example Checks (READ CAREFULLY)

  • Code uses Splashkit function above
  • Code does not use non-Splashkit functions
  • Code does not use extra function declarations or extra classes
  • Code does not violate any of the Thoth Tech SplashKit Style Guide rules
  • Simple, clear demonstration of the function
  • Tested in Chrome and Firefox

@netlify
Copy link
Copy Markdown

netlify Bot commented May 21, 2026

Deploy Preview for splashkit failed.

Name Link
🔨 Latest commit 61fac0e
🔍 Latest deploy log https://app.netlify.com/projects/splashkit/deploys/6a0f08db75b85a00084ebd2c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant