Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
blackholeearth opened this issue Mar 14, 2025 · 2 comments
Assignees
Labels
🔷Enhancement Type • Improvements for the software. ⬜ Pending Status • This issue stills needs to be analyzed.

Comments

@blackholeearth
Copy link

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

@blackholeearth blackholeearth added ⬜ Pending Status • This issue stills needs to be analyzed. 🔷Enhancement Type • Improvements for the software. labels Mar 14, 2025
@jokerfyy
Copy link

jokerfyy commented Mar 14, 2025 via email

@blackholeearth
Copy link
Author

blackholeearth commented 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>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔷Enhancement Type • Improvements for the software. ⬜ Pending Status • This issue stills needs to be analyzed.
Projects
None yet
Development

No branches or pull requests

3 participants