From af2f5ff427fdfbfd446c3efb74d979223da638ca Mon Sep 17 00:00:00 2001 From: Paul McCarthy <pauld.mccarthy@gmail.com> Date: Fri, 29 May 2015 14:27:49 +0100 Subject: [PATCH] Long file names are ellipsized on splasn screen --- fsl/data/strings.py | 2 +- fsl/fslview/splash.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fsl/data/strings.py b/fsl/data/strings.py index 9fc4c050c..047a8c0b4 100644 --- a/fsl/data/strings.py +++ b/fsl/data/strings.py @@ -10,7 +10,7 @@ import fsl.data.constants as constants messages = TypeDict({ - 'fslview.loading' : 'Loading {} ...', + 'fslview.loading' : 'Loading {}', 'FSLViewSplash.default' : 'Loading ...', 'image.saveImage.error' : 'An error occurred saving the file. ' diff --git a/fsl/fslview/splash.py b/fsl/fslview/splash.py index 9273b9ff9..a5586b242 100644 --- a/fsl/fslview/splash.py +++ b/fsl/fslview/splash.py @@ -26,7 +26,7 @@ class FSLViewSplash(wx.Frame): splashimg = splashbmp.ConvertToImage() splashPanel = imagepanel.ImagePanel(self, splashimg) - self.statusBar = wx.StaticText(self) + self.statusBar = wx.StaticText(self, style=wx.ELLIPSIZE_MIDDLE) self.statusBar.SetLabel(strings.messages[self, 'default']) self.statusBar.SetBackgroundColour('white') -- GitLab