Skip to content
This repository was archived by the owner on Jan 6, 2026. It is now read-only.

XML Examples

Garkatron edited this page Jan 9, 2025 · 3 revisions
<?xml version="1.0" encoding="UTF-8"?>

<root xmlns="GUI-LIBRARY-HTML-SCHEMA">

    <link src="/assets/guilib/uis/defaults/defaults.yaml"/>
    <link src="/assets/guilib/uis/UIbui/styles.yaml"/>

    <body>
        <div id="mainContainer">

            <button id="backButton">
                <label>
                    x
                </label>
            </button>

            <div id="centerContainer" group="panel">
                <layout>
                    <label group="bui.title" maxTextLength="1000">Welcome to BUI</label>

                    <button group="buttons" id="detectedProjectsButton">
                        <label>
                            Detected Projects
                        </label>
                    </button>
                    <button group="buttons" id="x">
                        <label>
                            Developer Options
                        </label>
                    </button>
                    <layout group="buttonPair" direction="horizontal">
                        <button id="infoButton">
                            <label>
                                Info
                            </label>
                        </button>
                        <button group="warn" id="optionsButton">
                            <label>
                                Options
                            </label>
                        </button>
                    </layout>
                </layout>
            </div>
        </div>

    </body>

</root>
<?xml version="1.0" encoding="UTF-8"?>

<root xmlns="GUI-LIBRARY-HTML-SCHEMA">

    <link src="/assets/guilib/uis/defaults/defaults.yaml"/>
    <link src="/assets/guilib/uis/UIprojectsDetected/styles.yaml"/>

    <templates name="bui">
        <module name="options">
            <component name="pathButton">
                <layout direction="horizontal">
                    <button id="bui.options.pathButton.button" group="bui.options.pathButton.buttons">
                        <label>
                        </label>
                    </button>
                </layout>
            </component>
        </module>
    </templates>

    <body>
        <div id="mainContainer">
            <label group="bui.title" maxTextLength="1000">UIs Detected from assets and GuiLib folders</label>
            <button id="backButton">
                <label>
                    x
                </label>
            </button>

            <div id="centerContainer">
                <scrollableLayout id="mainScrollableLayout" minScroll="infinite" maxScroll="0">
                </scrollableLayout>
            </div>
        </div>

    </body>

</root>

Clone this wiki locally