MarkHopper24 / barcodrod.io

A free, modern barcode and QR code toolkit for Windows.
https://barcodrod.io
Apache License 2.0
146 stars 7 forks source link

Can't edit Width, Height, Margin #17

Closed dubeg closed 1 year ago

dubeg commented 1 year ago

In Create, I can't edit the Width, Height nor the margin. Is it a focus issue?

image

dubeg commented 1 year ago

Since the issue is related to the flyout, I can just fullscreen the application to work around this.

But I tested setting AllowFocusOnInteraction="True" on AppBarElementContainer, and it seems to fix the problem.

<AppBarElementContainer HorizontalAlignment="Center" AllowFocusOnInteraction="True">
    <StackPanel Orientation="Horizontal" Margin="0,5,10,0" >
        <TextBlock Style="{ThemeResource BaseTextBlockStyle}" FontSize="12" Text="Width:" Margin="0,7,5,0" />
        <TextBox x:Name ="userWidth" PlaceholderText="800"  />
    </StackPanel>
</AppBarElementContainer>
<AppBarElementContainer HorizontalAlignment="Center" AllowFocusOnInteraction="True">
    <StackPanel Orientation="Horizontal" Margin="0,5,10,0">
        <TextBlock Style="{ThemeResource BaseTextBlockStyle}" FontSize="12" Text="Height:" Margin="0,7,5,0" />
        <TextBox x:Name="userHeight"  PlaceholderText="800" HorizontalAlignment="Stretch"/>
    </StackPanel>
</AppBarElementContainer>
MarkHopper24 commented 1 year ago

Thanks for reporting this @dubeg. Worked on this issue earlier this week and found the same cause & fix. Will be addressed in the next update.

MarkHopper24 commented 1 year ago

This issue has been resolved in v1.7 which has been submitted to the Microsoft Store for review. I expect it to be available in the next day or so.

image

@dubeg Thanks again for the report. Closing this out for now.