[GH-ISSUE #1372] [Feature Request] set FrameWidth to 1px or 2px. at Editor Timeline (FrameView) -- so it will create fake TimeLine Like VideoEditors... #1014

Open
opened 2026-02-26 09:33:17 +03:00 by kerem · 2 comments
Owner

Originally created by @blackholeearth on GitHub (Mar 14, 2025).
Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/1372

Originally assigned to: @NickeManarin on GitHub.

Is your feature request related to a problem? Please describe.
I'm always frustrated when
when i grab record video at 30fps ,, there are to many view.. it it realy hard to scroll to left right..
its makes user dizzy.
cant have control over Where i am at .??

Describe the solution you'd like
set FrameWidth to 1px or 2px. at Editor Timeline (FrameView) -- so it will create fake TimeLine Like VideoEditors...

Describe alternatives you've considered
i forked the code. modified a little to get what i want. set them to 4px..

BUT there is padding in between each frame i cant get rid of...

it can be optional button near the time line user can switch between.
widths...

Additional context

Image

Originally created by @blackholeearth on GitHub (Mar 14, 2025). Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/1372 Originally assigned to: @NickeManarin on GitHub. **Is your feature request related to a problem? Please describe.** I'm always frustrated when when i grab record video at 30fps ,, there are to many view.. it it realy hard to scroll to left right.. its makes user dizzy. cant have control over Where i am at .?? **Describe the solution you'd like** set FrameWidth to 1px or 2px. at Editor Timeline (FrameView) -- so it will create fake TimeLine Like VideoEditors... **Describe alternatives you've considered** i forked the code. modified a little to get what i want. set them to 4px.. BUT there is padding in between each frame i cant get rid of... it can be optional button near the time line user can switch between. widths... **Additional context** ![Image](https://github.com/user-attachments/assets/c97238e2-18d4-4222-8716-5497b1a2268d)
Author
Owner

@jokerfyy commented on GitHub (Mar 14, 2025):

收到啦,请放心,我马上就会看的

<!-- gh-comment-id:2725909222 --> @jokerfyy commented on GitHub (Mar 14, 2025): 收到啦,请放心,我马上就会看的
Author
Owner

@blackholeearth commented on GitHub (Mar 14, 2025):

here is the code via

app.xml ->> line: 1175

    <Setter Property="ItemTemplate">
                    <Setter.Value>
                        <DataTemplate>
                            <Border x:Name="Bd"
                                    BorderBrush="{Binding RelativeSource={RelativeSource AncestorType=ListViewItem}, Path=BorderBrush}"
                                    Background="{Binding RelativeSource={RelativeSource AncestorType=ListViewItem}, Path=Background}"
                                    MinWidth="1" MaxWidth="4" MinHeight="60"
                                    SnapsToDevicePixels="True"
                                >
                                <Grid >
                                    <Grid.RowDefinitions >
                                        <RowDefinition Height="*" />
                                        <RowDefinition Height="Auto"/>
                                    </Grid.RowDefinitions>

                                    <Viewbox x:Name="ViewBoxInternal"
                                             VerticalAlignment="Center" HorizontalAlignment="Center"
                                             Stretch="Fill" StretchDirection="Both"
                                             MaxWidth="100" MaxHeight="100"
                                             Effect="{x:Null}">
                                        <Image Source="{Binding Image, Converter={StaticResource UriToBitmapConverter}, ConverterParameter=100}"
                                               Width="Auto" Height="Auto"
                                               Effect="{DynamicResource Shadow.Border.Large}"/>
                                    </Viewbox>

                                    <Grid Grid.Row="1" Visibility="Hidden" >
                                        <Grid.ColumnDefinitions>
                                            <ColumnDefinition/>
                                            <ColumnDefinition/>
                                        </Grid.ColumnDefinitions>

                                        <TextBlock x:Name="NumberLabel" Text="{Binding Number, StringFormat={}{0:0}}" Foreground="{DynamicResource Element.Foreground.Gray112}" 
                                                   HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0" Padding="0"/>

                                        <TextBlock x:Name="DelayLabel" Grid.Column="1" Text="{Binding Delay, StringFormat={}{0:0 'ms'}}" Foreground="{DynamicResource Element.Foreground.Gray112}"
                                                   HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0" Padding="0" FontSize="11" FontWeight="Normal" FontStyle="Italic"/>
                                    </Grid>
                                </Grid>
                            </Border>
                        </DataTemplate>
                    </Setter.Value>
                </Setter>
<!-- gh-comment-id:2725910254 --> @blackholeearth commented on GitHub (Mar 14, 2025): here is the code via app.xml ->> line: 1175 ````xaml <Setter Property="ItemTemplate"> <Setter.Value> <DataTemplate> <Border x:Name="Bd" BorderBrush="{Binding RelativeSource={RelativeSource AncestorType=ListViewItem}, Path=BorderBrush}" Background="{Binding RelativeSource={RelativeSource AncestorType=ListViewItem}, Path=Background}" MinWidth="1" MaxWidth="4" MinHeight="60" SnapsToDevicePixels="True" > <Grid > <Grid.RowDefinitions > <RowDefinition Height="*" /> <RowDefinition Height="Auto"/> </Grid.RowDefinitions> <Viewbox x:Name="ViewBoxInternal" VerticalAlignment="Center" HorizontalAlignment="Center" Stretch="Fill" StretchDirection="Both" MaxWidth="100" MaxHeight="100" Effect="{x:Null}"> <Image Source="{Binding Image, Converter={StaticResource UriToBitmapConverter}, ConverterParameter=100}" Width="Auto" Height="Auto" Effect="{DynamicResource Shadow.Border.Large}"/> </Viewbox> <Grid Grid.Row="1" Visibility="Hidden" > <Grid.ColumnDefinitions> <ColumnDefinition/> <ColumnDefinition/> </Grid.ColumnDefinitions> <TextBlock x:Name="NumberLabel" Text="{Binding Number, StringFormat={}{0:0}}" Foreground="{DynamicResource Element.Foreground.Gray112}" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0" Padding="0"/> <TextBlock x:Name="DelayLabel" Grid.Column="1" Text="{Binding Delay, StringFormat={}{0:0 'ms'}}" Foreground="{DynamicResource Element.Foreground.Gray112}" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0" Padding="0" FontSize="11" FontWeight="Normal" FontStyle="Italic"/> </Grid> </Grid> </Border> </DataTemplate> </Setter.Value> </Setter> ````
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ScreenToGif#1014
No description provided.