Skip to content

Enhancement - Add Log Scroll Bars and "Clear Log" Buttons - #1442

Merged
ScrubN merged 3 commits into
lay295:masterfrom
jscdev909:add-log-scroll-bar-and-clear-log-button
Jun 17, 2025
Merged

ScrubN merged 3 commits into
lay295:masterfrom
jscdev909:add-log-scroll-bar-and-clear-log-button

Conversation

@jscdev909

Copy link
Copy Markdown
Contributor

Fixes #1437

  • Adds a vertical scroll bar to the log text box in the VOD Download, Clip Download, Chat Download, Chat Updater, and Chat Render windows that only appears when the text box fills with logs
  • Adds a "Clear Log" button to the VOD Download, Clip Download, Chat Download, Chat Updater, and Chat Render windows that clears the log text box when clicked

image

</StackPanel>
</StackPanel>
<StackPanel Grid.Column="4" Grid.Row="2" Grid.RowSpan="2">
<StackPanel Grid.Column="4" Grid.Row="2" Grid.RowSpan="1">

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was the row span reduced to 1?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought having the row span as 2 would block the new button. But on running it now it doesn't seem to do so. I'll change them back.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reverted to 2 in commit 8af71bb

</RichTextBox.Resources>
</RichTextBox>
</StackPanel>
<Button x:Name="BtnClearLog" Grid.Column="4" Grid.Row="3" MinWidth="50" Content="{lex:Loc ClearLog}" Click="BtnClearLog_Click" Background="{DynamicResource ActionButtonBackground}" Foreground="{DynamicResource ActionButtonText}" BorderBrush="{DynamicResource ActionButtonBorder}"/>

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Put this in the same StackPanel as the log box and use margin to push it down instead. It looks disconnected right now.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed in commit 8af71bb

@ScrubN
ScrubN merged commit bbb7982 into lay295:master Jun 17, 2025
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.

Add Log Scroll Bar and "Clear Log" Button/Option

2 participants