Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix: Flux2 UI — sequence length and caption dropout labels no longer overlap#1460

Merged
dxqb merged 1 commit into
Nerogar:mergefrom
dxqb:fix/flux2-ui-overlap
May 25, 2026
Merged

fix: Flux2 UI — sequence length and caption dropout labels no longer overlap#1460
dxqb merged 1 commit into
Nerogar:mergefrom
dxqb:fix/flux2-ui-overlap

Conversation

@dxqb

@dxqb dxqb commented May 15, 2026

Copy link
Copy Markdown
Collaborator

When selecting the Flux2 model type in the UI, the "Text Encoder Sequence Length" label/entry was rendered on top of the "Caption Dropout Probability" label/entry.

🤖 Generated with Claude Code

…widget overlap

When supports_sequence_length=True, the sequence length widgets were placed
at the outer `row` parameter (the frame's position in master) instead of a
local row counter inside the frame. For Flux2 this value is 1, colliding
with Caption Dropout which was hardcoded to row 1.

Replaced all hardcoded row indices with a local counter that only advances
for widgets that are actually rendered, matching the pattern already used
in __create_text_encoder_n_frame.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
@dxqb

dxqb commented May 15, 2026

Copy link
Copy Markdown
Collaborator Author
grafik

@dxqb dxqb added the merging last steps before merge label May 24, 2026
@dxqb dxqb changed the base branch from master to merge May 25, 2026 17:30
@dxqb dxqb merged commit 22487d7 into Nerogar:merge May 25, 2026
1 check passed
@dxqb dxqb deleted the fix/flux2-ui-overlap branch May 25, 2026 17:30
BitcrushedHeart pushed a commit to BitcrushedHeart/OneTrainer that referenced this pull request Jun 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merging last steps before merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant