Skip to content

Commit 74c6340

Browse files
committed
notebook lines
1 parent ec4caa1 commit 74c6340

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

MainWindow.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
<RowDefinition Height="1*" />
129129
</Grid.RowDefinitions>
130130
<CheckBox x:Name="mCBDispLine" Grid.Row="0" Margin="4,0,0,0" VerticalAlignment="Center" Content="Line" IsChecked="False" Checked="CBDispLine_Checked" Unchecked="CBDispLine_Unchecked" />
131-
<Slider Grid.Column="1" Grid.Row="0" VerticalAlignment="Center" Name="mSliderLine" Margin="0,0,4,0" Maximum="50" Value="25" Minimum="10" SmallChange="1" LargeChange="2" ValueChanged="mSliderLine_ValueChanged" />
131+
<Slider Grid.Column="1" Grid.Row="0" VerticalAlignment="Center" Name="mSliderLine" Margin="0,0,4,0" Maximum="25" Value="14" Minimum="12" SmallChange="1" LargeChange="2" TickPlacement="Both" ValueChanged="mSliderLine_ValueChanged" />
132132
<CheckBox x:Name="mCBDispDrawings" Grid.Row="1" Grid.ColumnSpan="2" Margin="4,0,0,0" VerticalAlignment="Center" Content="Display Drawings" IsChecked="True" Checked="CBDispDrawings_Checked" Unchecked="CBDispDrawings_Unchecked" />
133133
<Label x:Name="mLabelScale" Content="Scale:" Grid.Row="2" HorizontalAlignment="Right" VerticalAlignment="Center" />
134134
<Slider Grid.Column="1" Grid.Row="2" VerticalAlignment="Center" Name="mSliderScaling" Margin="0,0,4,0" Maximum="2.0" Value="0.5" Minimum="0.25" Ticks="0.25 0.375 0.5 0.625 0.75 0.875 1.0 1.25 1.5 1.75 2.0" SmallChange="0.125" LargeChange="0.125" TickFrequency="0.125" TickPlacement="Both" IsMoveToPointEnabled="True" />

PageListMgr.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,11 +266,11 @@ public void DrawLines(int nLines, Brush brush, double thickness) {
266266

267267
double W = 2048.0;
268268
double H = 2048.0;
269-
for (int i = 1; i <= nLines; ++i) {
269+
for (int i = 1; i <= nLines*3; ++i) {
270270
double y = H * i / nLines;
271271
var l = new System.Windows.Shapes.Line();
272272
l.X1 = 0;
273-
l.X2 = W;
273+
l.X2 = W * 2;
274274
l.Y1 = y;
275275
l.Y2 = y;
276276
l.Stroke = brush;

Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,5 @@
5151
// You can specify all the values or you can default the Build and Revision Numbers
5252
// by using the '*' as shown below:
5353
// [assembly: AssemblyVersion("1.0.*")]
54-
[assembly: AssemblyVersion("1.1.0.0")]
55-
[assembly: AssemblyFileVersion("1.1.0.0")]
54+
[assembly: AssemblyVersion("1.2.0.0")]
55+
[assembly: AssemblyFileVersion("1.2.0.0")]

0 commit comments

Comments
 (0)