Wpf scale to textBox, textBox cannot display cursor when I click textBox

Zoom in (ScaleTransform) TextBox, then click on the TextBox, and some can display the cursor, and some can not display the cursor. How to solve the problem. I hope it can show the cursor after scaling the TextBox.

 <Grid>
    <StackPanel>
        <TextBox Width="200"></TextBox>
        <TextBox Padding="0" Width="100"></TextBox>
        <TextBox Width="300"></TextBox>
        <TextBox Padding="0" Width="100" ></TextBox >
        <TextBox Padding="0" Width="100"></TextBox>
        <TextBox Width="100"></TextBox>
    </StackPanel>
    <Grid.LayoutTransform>
        <ScaleTransform ScaleX="0.35" ScaleY="0.65"></ScaleTransform>
    </Grid.LayoutTransform>
</Grid>
0
source share

Source: https://habr.com/ru/post/1664820/


All Articles