Skip to content

Adjust max width of text in multiblock UIs#4805

Closed
luna2718 wants to merge 1 commit into
GregTechCEu:1.20.1from
luna2718:1.20.1
Closed

Adjust max width of text in multiblock UIs#4805
luna2718 wants to merge 1 commit into
GregTechCEu:1.20.1from
luna2718:1.20.1

Conversation

@luna2718
Copy link
Copy Markdown

What

Fixes #4801

Implementation Details

Resizes the ComponentPanelWidget in the WorkableElectricMultiblockMachine class, which makes some text wrap around earlier if the last one or two characters would have been cut off.

How Was This Tested

The multiblock issue in question now renders with all text visible:
image

Potential Compatibility Issues

This could alter the rendering of some other multiblocks in specific scenarios. For example, the Multi Smelter active machine mode now also renders properly, where it didn't before.

@luna2718 luna2718 requested a review from a team as a code owner April 22, 2026 17:27
@jurrejelle
Copy link
Copy Markdown
Contributor

Thank you for this fix! However, this is part of a piece of code (LDLib UIs) we're looking to remove very soon and replace it with ModularUI UIs, and as such are not looking to fix this for now. Our apologies!

@jurrejelle jurrejelle closed this Apr 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Text on the blast furnace for when you have no outputs is too long

2 participants