oωo (owo-lib)

oωo (owo-lib)

17M Downloads

[owo-ui] Pressing tab key on a screen does not select in order

Zailer43 opened this issue · 0 comments

commented

The screen I have is the following, without adding any code to it:

<owo-ui xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/wisp-forest/owo-lib/1.19/owo-ui.xsd">
    <components>
        <flow-layout direction="vertical">
            <children>
                <grid-layout rows="2" columns="3">
                    <children>
                        <button row="0" column="0">
                            <text>1</text>
                        </button>
                        <button row="0" column="1">
                            <text>2</text>
                        </button>
                        <button row="0" column="2">
                            <text>3</text>
                        </button>
                        <button row="1" column="0">
                            <text>4</text>
                        </button>
                        <button row="1" column="1">
                            <text>5</text>
                        </button>
                        <button row="1" column="2">
                            <text>6</text>
                        </button>
                    </children>
                </grid-layout>
            </children>
        </flow-layout>
    </components>
</owo-ui>

when I press tab 5 is selected first, then 4, 3, 2, 1 and 6.

minecraft_version=1.19.3
owo_version=0.9.3+1.19.3