forked from VazkiiMods/Patchouli
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move subcategory buttons to the right if the category has no entries
Mild positioning tweaks to category buttons to leave more space for the description (they wasted quite a bit of space with advancement locks disabled)
- Loading branch information
Showing
10 changed files
with
107 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ata/patchouli/patchouli_books/comprehensive_test_book/en_us/categories/subcategories.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"name": "Subcategories", | ||
"description": "Tests for subcategories. This category just has a bunch of filler subcategories to see how button wrapping looks.", | ||
"description": "Tests for subcategories. No entries here, so the subcategory buttons take their place.", | ||
"icon": "minecraft:writable_book" | ||
} |
6 changes: 0 additions & 6 deletions
6
...uli_books/comprehensive_test_book/en_us/categories/subcategories/empty_subcategory_4.json
This file was deleted.
Oops, something went wrong.
6 changes: 6 additions & 0 deletions
6
...li_books/comprehensive_test_book/en_us/categories/subcategories/empty_subsubcategory.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"name": "Empty Sub-sub-category", | ||
"parent": "patchouli:subcategories/normal_subcategory", | ||
"description": "Empty sub-sub-category with no entries", | ||
"icon": "minecraft:iron_ingot" | ||
} |
6 changes: 6 additions & 0 deletions
6
..._books/comprehensive_test_book/en_us/categories/subcategories/empty_subsubcategory_1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"name": "Empty Sub-sub-category 2", | ||
"parent": "patchouli:subcategories/normal_subcategory", | ||
"description": "Empty sub-sub-category with no entries", | ||
"icon": "minecraft:gold_ingot" | ||
} |
6 changes: 6 additions & 0 deletions
6
..._books/comprehensive_test_book/en_us/categories/subcategories/empty_subsubcategory_2.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"name": "Empty Sub-sub-category 3", | ||
"parent": "patchouli:subcategories/normal_subcategory", | ||
"description": "Empty sub-sub-category with no entries", | ||
"icon": "minecraft:iron_pickaxe" | ||
} |
6 changes: 6 additions & 0 deletions
6
..._books/comprehensive_test_book/en_us/categories/subcategories/empty_subsubcategory_3.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"name": "Empty Sub-sub-category 4", | ||
"parent": "patchouli:subcategories/normal_subcategory", | ||
"description": "Empty sub-sub-category with no entries", | ||
"icon": "minecraft:iron_axe" | ||
} |
6 changes: 6 additions & 0 deletions
6
..._books/comprehensive_test_book/en_us/categories/subcategories/empty_subsubcategory_4.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"name": "Empty Sub-sub-category 5", | ||
"parent": "patchouli:subcategories/normal_subcategory", | ||
"description": "Empty sub-sub-category with no entries", | ||
"icon": "minecraft:iron_sword" | ||
} |
2 changes: 1 addition & 1 deletion
2
...ouli_books/comprehensive_test_book/en_us/categories/subcategories/normal_subcategory.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "Normal Subcategory", | ||
"parent": "patchouli:subcategories", | ||
"description": "Normal subcategory with some entries", | ||
"description": "Normal subcategory with some entries and some empty subcategories to observe the behavior of category button wrapping.", | ||
"icon": "minecraft:cooked_chicken" | ||
} |