Skip to content
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.

The error message is being cut off. #175

Open
malhayek2012 opened this issue Feb 15, 2018 · 0 comments
Open

The error message is being cut off. #175

malhayek2012 opened this issue Feb 15, 2018 · 0 comments

Comments

@malhayek2012
Copy link

I may be doing something incorrectly here. But, I am having an issue where the error message is not fully visible on the form.

Here is what I am getting
screenshot_19

Here is my XAML code

<mui:ModernWindow x:Class="WindowsClient.Views.VendorView"
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  xmlns:mui="http://firstfloorsoftware.com/ModernUI"
  Title="Vendors" Height="350" Width="525"
  Style="{StaticResource BlankWindow}">
       <DockPanel Style="{StaticResource ContentRoot}">
            <Grid DockPanel.Dock="Top">
                <Grid.ColumnDefinitions >
                    <ColumnDefinition Width="*" ></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <StackPanel>
                    <StackPanel>
                        <Label Content="Name" />
                        <TextBox x:Name="Name" Text="{Binding Name, ValidatesOnDataErrors=True, NotifyOnValidationError=True, UpdateSourceTrigger=PropertyChanged}" />
                    </StackPanel>

                    <StackPanel>
                        <Label Content="Phone Number" />
                        <TextBox x:Name="Phone" Text="{Binding Phone, ValidatesOnDataErrors=True, NotifyOnValidationError=True, UpdateSourceTrigger=PropertyChanged}" />
                    </StackPanel>
                </StackPanel>
            </Grid>
            
            <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" DockPanel.Dock="Bottom" Height="30" VerticalAlignment="Bottom">
                <Button Command="{Binding Create}">Create</Button>
                <Button>Reset</Button>
            </StackPanel>
            
        </DockPanel>
    
</mui:ModernWindow>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant