From 2a89c890a67cafd26c52d4f41110ee2f124968d3 Mon Sep 17 00:00:00 2001 From: Paul McCarthy <pauld.mccarthy@gmail.com> Date: Tue, 8 Mar 2016 14:35:58 +0000 Subject: [PATCH] Plot control panels are now docked on the right by default. --- fsl/fsleyes/views/histogrampanel.py | 5 +++-- fsl/fsleyes/views/powerspectrumpanel.py | 2 +- fsl/fsleyes/views/timeseriespanel.py | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/fsl/fsleyes/views/histogrampanel.py b/fsl/fsleyes/views/histogrampanel.py index 4a3ac9268..19e4d79dc 100644 --- a/fsl/fsleyes/views/histogrampanel.py +++ b/fsl/fsleyes/views/histogrampanel.py @@ -112,8 +112,9 @@ class HistogramPanel(plotpanel.OverlayPlotPanel): """Shows/hides a :class:`.HistogramControlPanel`. See :meth:`.ViewPanel.togglePanel`. """ - self.togglePanel( - histogramcontrolpanel.HistogramControlPanel, self, location=wx.TOP) + self.togglePanel(histogramcontrolpanel.HistogramControlPanel, + self, + location=wx.RIGHT) def getActions(self): diff --git a/fsl/fsleyes/views/powerspectrumpanel.py b/fsl/fsleyes/views/powerspectrumpanel.py index 893eaebce..5715c0cc0 100644 --- a/fsl/fsleyes/views/powerspectrumpanel.py +++ b/fsl/fsleyes/views/powerspectrumpanel.py @@ -116,7 +116,7 @@ class PowerSpectrumPanel(plotpanel.OverlayPlotPanel): """ self.togglePanel(pscontrol.PowerSpectrumControlPanel, self, - location=wx.TOP) + location=wx.RIGHT) @actions.toggleControlAction(plotlistpanel.PlotListPanel) diff --git a/fsl/fsleyes/views/timeseriespanel.py b/fsl/fsleyes/views/timeseriespanel.py index 1686c6989..a3e7a449e 100644 --- a/fsl/fsleyes/views/timeseriespanel.py +++ b/fsl/fsleyes/views/timeseriespanel.py @@ -172,7 +172,7 @@ class TimeSeriesPanel(plotpanel.OverlayPlotPanel): """ self.togglePanel(timeseriescontrolpanel.TimeSeriesControlPanel, self, - location=wx.TOP) + location=wx.RIGHT) def getActions(self): -- GitLab