Skip to content

Small improvements to the channel config GUI#47

Merged
Dream-Master merged 4 commits intomasterfrom
channel-config-improvements
Sep 15, 2025
Merged

Small improvements to the channel config GUI#47
Dream-Master merged 4 commits intomasterfrom
channel-config-improvements

Conversation

@wlhlm
Copy link
Copy Markdown
Member

@wlhlm wlhlm commented Sep 14, 2025

The channel GUI info tooltip was overflowing on smaller GUI scales. The tooltip is dynamically resized to the current screen width and the problem here was that at these small scales, the info button that shows the tooltip was essentially in the middle of the screen. The code reflowed the tooltip to 3/5 of the screen, so it was always too wide regardless of whether it was drawn left or right of the cursor . The change here is to keep the tooltip below half of the screen width.

Additionally, I did a small grammar and phrasing pass on the tooltip and renamed the GUI buttons from "Add", "Set", "Unset", and "Wipe" to "Add", "Update", "Remove", and "Clear", which I found more fitting.

Before:
2025-09-14_20 37 34

After:
2025-09-14_20 43 40

At small GUI scale:
2025-09-14_20 44 09

fixes GTNewHorizons/GT-New-Horizons-Modpack#19627

@wlhlm wlhlm requested a review from Glease September 14, 2025 18:57
@Dream-Master Dream-Master requested a review from a team September 14, 2025 19:06
Co-authored-by: Glease <4586901+Glease@users.noreply.github.com>
@Dream-Master Dream-Master requested a review from Glease September 14, 2025 23:26
@Dream-Master Dream-Master merged commit 0030c02 into master Sep 15, 2025
1 check passed
@Dream-Master Dream-Master deleted the channel-config-improvements branch September 15, 2025 20:06
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.

Structure Hologram Projector Tooltip Overflowing Game Window

3 participants