Add label_element interface usage example#774
Conversation
❌ Deploy Preview for splashkit failed.
|
KayDee6751
left a comment
There was a problem hiding this comment.
The coding example itself looks good and clearly shows how label_element can be used in a simple interface layout.
One thing I noticed is that label_element is an overloaded function. There is a basic version that only takes text, and another version that takes both text and a rectangle. This example appears to use the rectangle version, but the files are named label_element-1-example.*, which seems to place it under the basic text-only version on the API page.
I think this should either be moved/renamed so it appears under the rectangle overload, likely label_element_at_position-1-example.*, or changed to use the text-only version of label_element.
|
Thanks for the feedback. I’ve updated the example so it now maps to the correct overload section for the positioned/rectangle version of label_element. The files and usage-example reference entry were renamed/updated to align with the #label-element-at-position |
Description
Splashkit Function:
label_elementOverview of example functionality: This example demonstrates how
label_elementcan be used to display simple text labels as part of a basic interface layout. The labels are arranged vertically in a graphical window to show how interface text can be presented clearly.Example Output: Added screenshot showing the label interface example running.
Files Included
Usage Example Checks (READ CAREFULLY)