Skip to content

Commit a78ffce

Browse files
committed
bug fix
1 parent f88adc9 commit a78ffce

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

PhaseExplorer/MainWindow.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ unsafe protected void ComputePropagation()
634634

635635
ResetReconScrollBars();
636636

637-
RenderImage(ReconImage, ReconPixbuf, Parameters.PhaseX, Parameters.PhaseY);
637+
RenderImage(ReconImage, ReconPixbuf, Parameters.ReconX, Parameters.ReconY);
638638
}
639639

640640
intensity.Free();

PhaseExplorer/gtk-gui/MainWindow.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ protected virtual void Build()
214214
this.MainNotebook.WidthRequest = 760;
215215
this.MainNotebook.HeightRequest = 500;
216216
this.MainNotebook.Name = "MainNotebook";
217-
this.MainNotebook.CurrentPage = 1;
217+
this.MainNotebook.CurrentPage = 2;
218218
// Container child MainNotebook.Gtk.Notebook+NotebookChild
219219
this.PageInputLayout = new global::Gtk.Fixed();
220220
this.PageInputLayout.Name = "PageInputLayout";
@@ -648,9 +648,9 @@ protected virtual void Build()
648648
this.ReconScrollY = new global::Gtk.VScrollbar(null);
649649
this.ReconScrollY.HeightRequest = 256;
650650
this.ReconScrollY.Name = "ReconScrollY";
651-
this.ReconScrollY.Adjustment.Upper = 100D;
652-
this.ReconScrollY.Adjustment.PageIncrement = 10D;
653-
this.ReconScrollY.Adjustment.PageSize = 10D;
651+
this.ReconScrollY.Adjustment.Upper = 20480D;
652+
this.ReconScrollY.Adjustment.PageIncrement = 1D;
653+
this.ReconScrollY.Adjustment.PageSize = 1D;
654654
this.ReconScrollY.Adjustment.StepIncrement = 1D;
655655
this.LayoutPageReconstruction.Add(this.ReconScrollY);
656656
global::Gtk.Fixed.FixedChild w44 = ((global::Gtk.Fixed.FixedChild)(this.LayoutPageReconstruction[this.ReconScrollY]));

PhaseExplorer/gtk-gui/gui.stetic

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
<property name="MemberName" />
128128
<property name="WidthRequest">760</property>
129129
<property name="HeightRequest">500</property>
130-
<property name="CurrentPage">1</property>
130+
<property name="CurrentPage">0</property>
131131
<child>
132132
<widget class="Gtk.Fixed" id="PageInputLayout">
133133
<property name="MemberName" />
@@ -694,9 +694,9 @@
694694
<widget class="Gtk.VScrollbar" id="ReconScrollY">
695695
<property name="MemberName" />
696696
<property name="HeightRequest">256</property>
697-
<property name="Upper">100</property>
698-
<property name="PageIncrement">10</property>
699-
<property name="PageSize">10</property>
697+
<property name="Upper">20480</property>
698+
<property name="PageIncrement">1</property>
699+
<property name="PageSize">1</property>
700700
<property name="StepIncrement">1</property>
701701
<signal name="ValueChanged" handler="OnReconScrollYValueChanged" />
702702
</widget>

0 commit comments

Comments
 (0)