Skip to content

#63: Truncate URLs#69

Merged
im-knots merged 1 commit into
mainfrom
issue_63_trunc_url
Jul 1, 2026
Merged

#63: Truncate URLs#69
im-knots merged 1 commit into
mainfrom
issue_63_trunc_url

Conversation

@im-knots

@im-knots im-knots commented Jul 1, 2026

Copy link
Copy Markdown
Owner

resizable egui::Panels persists its content rect every frame. the five stream/URL library rows (SRT, HLS, DASH,
RTMP, HTML) rendered the URL in a plain ui.horizontal with an Extend (non-truncating) label. a long URL made the
row wider than the panel's resized/default width, so egui inflated the persisted PanelState to fit.

fix:
extracted a single stream_row helper in src/usecases/ui/panels/library.rs that uses a button-first right_to_left
layout with a nested left_to_right truncating label.

@im-knots
im-knots merged commit 268958f into main Jul 1, 2026
4 checks passed
@im-knots im-knots mentioned this pull request Jul 1, 2026
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.

1 participant