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

TextBox text jitter inside relative panel when resizing window. #8898

Open
brduffy opened this issue Sep 19, 2023 · 1 comment
Open

TextBox text jitter inside relative panel when resizing window. #8898

brduffy opened this issue Sep 19, 2023 · 1 comment
Labels
bug Something isn't working team-CompInput Issue for IXP (Composition, Input) team

Comments

@brduffy
Copy link

brduffy commented Sep 19, 2023

Describe the bug

I find that when I place a TextBox control inside a and align its sides with the panel the text gets jumpy when I resize the height of the window. If I change the property TextWrapping to "NoWrap" then the problem goes away but I want the text to wrap and be able to resize the window without the text jumping up and down ...

Steps to reproduce the bug

<RelativePanel>
    <TextBox
        Visibility="Visible"
        x:Name="directions"
        TextWrapping= "Wrap" 
        Background="White"
        Foreground="Black"
    
        RelativePanel.AlignRightWithPanel="True"
        RelativePanel.AlignLeftWithPanel="True"
        RelativePanel.AlignTopWithPanel="True"
        RelativePanel.AlignBottomWithPanel="True"

        >
    </TextBox>

</RelativePanel>

Expected behavior

Text in TextBox should remain still when window is resized.

Screenshots

No response

NuGet package version

Windows App SDK 1.4.0: 1.4.230822000

Packaging type

Packaged (MSIX)

Windows version

Windows 11 version 22H2 (22621, 2022 Update)

IDE

Visual Studio 2022

Additional context

The Windows App SDK version I am using is 1.4.230822000 (latest stable) which is not available in the dropdown versions above.

@bpulliam bpulliam transferred this issue from microsoft/WindowsAppSDK Sep 21, 2023
@bpulliam bpulliam added the team-CompInput Issue for IXP (Composition, Input) team label Sep 21, 2023
@bpulliam
Copy link
Contributor

related to smooth resize?

@duncanmacmichael duncanmacmichael added the bug Something isn't working label Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working team-CompInput Issue for IXP (Composition, Input) team
Projects
None yet
Development

No branches or pull requests

3 participants