Added Transparency Border to recipe-background and catalyst-tab #822
+28
−13
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.

Because NEI-GTNH has broken all resource packs for NEI. I have tried to fix the patch from PureBDcraft, but recognized its not easy because we had only 6px (24px in 128x resource packs) to make a border around the recipe background due to the dynamic layout drawing.
So I thought it would be a good idea to add more space to create textures :)
First I tried to increase the Border Padding, but this one had too much dependencies for positioning of other gui elements.
So I focused on extending only the background texture in the draw function. I called it Transparency Border :)
Additionally I had done the same for the catalyst-tab to have a good alignment here.
As result the default texture looks the same as before and I was able to fix the PureBDcraft patch.
This change should help every guy who will create resources for this mod, except the guy from Faithful ^^
Before:

After:
