Commit e512195d authored by Yakubov, Sergey's avatar Yakubov, Sergey
Browse files

use single columnt for gpsans

parent d934770d
Loading
Loading
Loading
Loading
+9 −5
Original line number Diff line number Diff line
@@ -119,24 +119,27 @@ class AirSans:
                FigureControl()
                Scattering()
                Transmission()

            if self.state.selected_device == "GP-SANS":
                ncols = 0
            else:
                ncols = 3
            with layout.content:
                with vuetify.VContainer(
                        fluid=True,
                        classes="pa-0 fill-height",
                ):
                    with vuetify.VRow(classes="fill-height pa-0"):
                        with vuetify.VCol(cols=3, classes="pa-0"):
                        with vuetify.VCol(cols=ncols, classes="pa-0"):
                            view = vtk.VtkRemoteView(
                                self._viz.left_render_window, interactive_ratio=1
                            )
                            self._viz.set_left_view(view)
                        with vuetify.VCol(cols=6, classes="pa-0"):
                        with vuetify.VCol(cols=12-2*ncols, classes="pa-0"):
                            view = vtk.VtkRemoteView(
                                self._viz.center_render_window, interactive_ratio=1
                            )
                            self._viz.set_center_view(view)
                        with vuetify.VCol(cols=3, classes="pa-0"):
                        with vuetify.VCol(cols=ncols, classes="pa-0"):
                            view = vtk.VtkRemoteView(
                                self._viz.right_render_window, interactive_ratio=1
                            )
@@ -151,6 +154,7 @@ class AirSans:
            self._selected_device = D11_Plus()
        if selectedDevice == "GP-SANS":
            self._selected_device = GP_SANS()
        self._build_ui()


    def select_directory(self, active_nodes):
+1 −1
Original line number Diff line number Diff line
@@ -44,7 +44,7 @@ class DetectorView:
        self.grid.SetXTitle("")
        self.grid.SetYTitle("")
        self.grid.SetZTitle("")
        self.renderer.AddActor(self.grid)
#        self.renderer.AddActor(self.grid)

        self.image_data = None
        self.html_update = None