Skip to content

fix: prevent LanPaint_Info widget from expanding when node is resized#87

Merged
scraed merged 2 commits into
scraed:masterfrom
octo-patch:fix/issue-61-info-widget-fixed-height
Apr 11, 2026
Merged

fix: prevent LanPaint_Info widget from expanding when node is resized#87
scraed merged 2 commits into
scraed:masterfrom
octo-patch:fix/issue-61-info-widget-fixed-height

Conversation

@octo-patch

Copy link
Copy Markdown
Contributor

Fixes #61

Problem

When a LanPaint node is resized (e.g. to make the image preview larger), the LanPaint_Info text box expanded proportionally, wasting space and making the layout look awkward.

Solution

Remove "multiline": True from the LanPaint_Info STRING input definition in all four node types:

  • LanPaint_KSampler
  • LanPaint_KSamplerAdvanced
  • LanPaint_SamplerCustom
  • LanPaint_SamplerCustomAdvanced

Without multiline: True, the widget uses a fixed-height single-line display that does not grow when the node is resized, directly addressing the issue raised by the user.

Testing

  • Verified all four LanPaint_Info widget definitions no longer contain "multiline": True
  • test_package_imports_without_comfy passes confirming no import regressions

octo-patch and others added 2 commits April 6, 2026 21:57
…ze expansion

When a LanPaint node is resized (e.g. to make the image preview bigger),
the LanPaint_Info multiline text box expanded along with it, wasting space.

Remove 'multiline: True' from the LanPaint_Info STRING input in all four
node types (LanPaint_KSampler, LanPaint_KSamplerAdvanced,
LanPaint_SamplerCustom, LanPaint_SamplerCustomAdvanced). The widget now
uses a fixed-height single-line display that does not grow when the node
is resized.

Fixes scraed#61
@scraed scraed merged commit 3bd8a43 into scraed:master Apr 11, 2026
2 checks passed
@scraed

scraed commented Apr 11, 2026

Copy link
Copy Markdown
Owner

Thanks for the fix! Merged.

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.

LanPaint Ksampler node info window resizing.

2 participants