Skip to content

Scrolling list empty text#85

Merged
Nightenom merged 6 commits into
ldtteam:version/1.20.1from
Thodor12:feature/scrolling_list_empty_text
Mar 6, 2024
Merged

Scrolling list empty text#85
Nightenom merged 6 commits into
ldtteam:version/1.20.1from
Thodor12:feature/scrolling_list_empty_text

Conversation

@Thodor12
Copy link
Copy Markdown
Contributor

@Thodor12 Thodor12 commented Mar 6, 2024

closes #84

  • Allows you to set an "empty text" on lists, which will show the given text in the middle of the list when no items are present.
  • 3 new attributes for this: emptytext, emptycolor and emptyscale.
  • New test written in test 4 for this usecase.

2024-03-06 18_53_42-Minecraft Forge_ 1 20 1 - Singleplayer
2024-03-06 18_53_46-Minecraft Forge_ 1 20 1 - Singleplayer

Comment thread src/main/java/com/ldtteam/blockui/views/ScrollingListContainer.java Outdated
Comment thread src/main/java/com/ldtteam/blockui/views/ScrollingListContainer.java Outdated
Comment thread src/main/java/com/ldtteam/blockui/views/ScrollingListContainer.java Outdated
Comment thread src/main/java/com/ldtteam/blockui/views/ScrollingListContainer.java Outdated
Comment thread src/main/java/com/ldtteam/blockui/views/ScrollingList.java Outdated
@Nightenom Nightenom merged commit 963f536 into ldtteam:version/1.20.1 Mar 6, 2024
@Thodor12 Thodor12 deleted the feature/scrolling_list_empty_text branch March 14, 2024 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants