Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separators declared within tabs are rendered before them #4288

Closed
thkwznk opened this issue Jan 29, 2024 · 0 comments · Fixed by #4295
Closed

Separators declared within tabs are rendered before them #4288

thkwznk opened this issue Jan 29, 2024 · 0 comments · Fixed by #4295
Assignees
Labels
bug scripting Related to scripting API ui
Milestone

Comments

@thkwznk
Copy link
Contributor

thkwznk commented Jan 29, 2024

It seems that all separators declared within tabs are rendered before them.

Example script:

local dialog = Dialog("Tabs Separator Bug")

dialog --
:tab{id = "tab-1", text = "Tab 1"} --
:label{label = "A", text = "1"} --
:separator{text = "Separator declared within Tab 1"} --
:label{label = "B", text = "2"} --

dialog:tab{id = "tab-2", text = "Tab 2"} --
:label{label = "C", text = "3"} --
:separator{text = "Separator declared within Tab 2"} --
:label{label = "D", text = "4"} --
:endtabs{id = "tabs"}

dialog:show()

Preview:
image

Aseprite and System version

  • Aseprite version: v1.3.2
  • System: Windows 11
@dacap dacap added the bug label Jan 31, 2024
@dacap dacap added this to the v1.3.3 milestone Jan 31, 2024
@dacap dacap added scripting Related to scripting API ui labels Jan 31, 2024
@dacap dacap closed this as completed in 0c7759a Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug scripting Related to scripting API ui
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants