diff --git a/invesalius/constants.py b/invesalius/constants.py index ca77a7b..ff942aa 100644 --- a/invesalius/constants.py +++ b/invesalius/constants.py @@ -225,7 +225,7 @@ WINDOW_LEVEL = {"Abdomen":(350,50), "Vasculature - Hard":(240,80), "Vasculature - Soft":(650,160)} -REDUCE_IMAGEDATA_QUALITY = 1 +REDUCE_IMAGEDATA_QUALITY = 0 ICON_DIR = os.path.abspath(os.path.join('..', 'icons')) diff --git a/invesalius/gui/language_dialog.py b/invesalius/gui/language_dialog.py index a3f201d..7d905ef 100644 --- a/invesalius/gui/language_dialog.py +++ b/invesalius/gui/language_dialog.py @@ -31,7 +31,7 @@ class LanguageDialog(wx.Dialog): selected is writing in the config.ini""" def __init__(self, parent = None, startApp = None): - + self.__TranslateMessage__() self.pre = pre = wx.PreDialog() @@ -40,6 +40,7 @@ class LanguageDialog(wx.Dialog): pre.Create(parent, -1, 'Language selection', size = wx.Size(250, 150), pos = wx.DefaultPosition, style=wx.DEFAULT_DIALOG_STYLE) self.PostCreate(pre) + self.Centre() icon_path = os.path.join(const.ICON_DIR, "invesalius.ico") pre.SetIcon(wx.Icon(icon_path, wx.BITMAP_TYPE_ICO)) -- libgit2 0.21.2