Skip to content

Commit 0045dde

Browse files
committed
update readme
1 parent 6f90e9f commit 0045dde

File tree

6 files changed

+17
-8
lines changed

6 files changed

+17
-8
lines changed

CodeHubDesktop/Views/CreateSnippet.xaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
<hc:ScrollViewer>
1313
<StackPanel Margin="10">
1414
<hc:TextBox Margin="10,0" Text="{Binding Subject, UpdateSourceTrigger=PropertyChanged}" hc:InfoElement.Placeholder="{ext:Loc Subject}" hc:TitleElement.Title="{ext:Loc SubjectTitle}"/>
15-
<hc:TextBox Text="{Binding Detail, UpdateSourceTrigger=PropertyChanged}" TextWrapping="Wrap" TextAlignment="Left" HorizontalContentAlignment="Left" VerticalContentAlignment="Top" Margin="10" Height="150" hc:InfoElement.Placeholder="{ext:Loc Detail}" hc:TitleElement.Title="{ext:Loc DetailTitle}"/>
15+
<hc:TextBox Text="{Binding Detail, UpdateSourceTrigger=PropertyChanged}" TextWrapping="Wrap" TextAlignment="Left" HorizontalContentAlignment="Left" VerticalContentAlignment="Top" Margin="10" Height="100" hc:InfoElement.Placeholder="{ext:Loc Detail}" hc:TitleElement.Title="{ext:Loc DetailTitle}"/>
1616
<hc:ComboBox SelectedItem="{Binding SelectedCode, UpdateSourceTrigger=PropertyChanged}" IsEditable="True" Name="cmb" ItemsSource="{Binding LanguageList}" hc:InfoElement.Placeholder="{ext:Loc SelectLanguage}" hc:TitleElement.Title="{ext:Loc SelectLanguageTitle}" Margin="10,0"/>
17-
<control:BindableAvalonEditor Text="{Binding Snippet, UpdateSourceTrigger=PropertyChanged}" SyntaxHighlighting="{Binding ElementName=cmb, Path=SelectedItem}" WordWrap="True" ShowLineNumbers="True" Margin="10,15" Height="250"/>
17+
<control:BindableAvalonEditor Text="{Binding Snippet, UpdateSourceTrigger=PropertyChanged}" SyntaxHighlighting="{Binding ElementName=cmb, Path=SelectedItem}" WordWrap="True" ShowLineNumbers="True" Margin="10,15" Height="200"/>
1818
<StackPanel HorizontalAlignment="Center" Margin="10,10" Orientation="Horizontal">
1919
<Button IsEnabled="{Binding IsEnabled}" Command="{Binding CreateCommand}" Content="{ext:Loc Create}" Width="180" IsDefault="True" Height="35" hc:IconElement.Geometry="{DynamicResource AddGeometry}" hc:IconElement.Width="18" hc:IconElement.Height="18"/>
2020
<Button IsEnabled="{Binding IsEnabled}" Command="{Binding ClearCommand}" Margin="10,0" Content="{ext:Loc Clear}" IsCancel="True" Width="180" IsDefault="True" Height="35" hc:IconElement.Geometry="{DynamicResource DeleteGeometry}" hc:IconElement.Width="18" hc:IconElement.Height="18"/>
@@ -34,7 +34,7 @@
3434
<Setter Property="Visibility" Value="Visible"/>
3535
<Style.Triggers>
3636
<DataTrigger Binding="{Binding SnippetUrl}" Value="{x:Null}">
37-
<Setter Property="Visibility" Value="Hidden" />
37+
<Setter Property="Visibility" Value="Collapsed" />
3838
</DataTrigger>
3939
</Style.Triggers>
4040
</Style>

CodeHubDesktop/Views/MainWindow.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
WindowStartupLocation="CenterScreen"
1818
ShowTitle="True"
1919
FontFamily="{StaticResource IRANSans}"
20-
Height="450"
21-
Width="800">
20+
Height="600"
21+
Width="900">
2222
<hc:Window.NonClientAreaContent>
2323
<Grid>
2424
<Grid.ColumnDefinitions>

CodeHubDesktop/Views/Settings.xaml.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ public Settings()
1313

1414
if (GlobalData.Config.Lang.Equals("fa-IR"))
1515
{
16-
tg.HorizontalAlignment = System.Windows.HorizontalAlignment.Left;
16+
tg.HorizontalAlignment = System.Windows.HorizontalAlignment.Right;
1717
}
1818
else
1919
{
20-
tg.HorizontalAlignment = System.Windows.HorizontalAlignment.Right;
20+
tg.HorizontalAlignment = System.Windows.HorizontalAlignment.Left;
2121
}
2222
}
2323
}

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,11 @@
11
# CodeHubDesktop
2-
2+
3+
CodeHub is a platform for archiving the errors, bugs, and scripts you intend to share with others.
4+
This App work with CodeHub API services.
5+
6+
- Prism MVVM
7+
- EntityFrameWorkCore
8+
- .Net Core 3.1
9+
10+
![CodeHubDesktop](ScreenShot/1.png)
11+
![CodeHubDesktop](ScreenShot/2.png)

ScreenShot/1.png

116 KB
Loading

ScreenShot/2.png

67 KB
Loading

0 commit comments

Comments
 (0)