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

Can't reorder OptionButton Items if there are more than five items #80524

Closed
markopolojorgensen opened this issue Aug 11, 2023 · 2 comments · Fixed by #80617
Closed

Can't reorder OptionButton Items if there are more than five items #80524

markopolojorgensen opened this issue Aug 11, 2023 · 2 comments · Fixed by #80617

Comments

@markopolojorgensen
Copy link

Godot version

v4.1.stable.official [9704596]

System information

Windows 10, Forward+, AMD Radeon R9 290X

Issue description

There's no way to reorder items "across" pages in paged lists in the inspector - items can only be rearranged within the page they're already in. The "Max Array Dictionary Items per Page" setting doesn't seem to affect OptionButton Item lists.

There are two ways around the issue: add a script that orders the items as desired, or delete items until the item you need to reorder is on the right page, then re-add the items you deleted.

Steps to reproduce

  1. Create an OptionButton
  2. Add six items
  3. See that the last item is on a new page
  4. There's no way to change the position of the last item

Minimal reproduction project

OptionButtonItemListIssueMRP.zip

@jmb462
Copy link
Contributor

jmb462 commented Aug 12, 2023

What about adding arrows to allow moving elements without drag ?

move_array

@Calinou
Copy link
Member

Calinou commented Aug 14, 2023

What about adding arrows to allow moving elements without drag ?

Looks great!

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

Successfully merging a pull request may close this issue.

5 participants