wolfhece 2.1.97__py3-none-any.whl → 2.1.99__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
wolfhece/PyConfig.py CHANGED
@@ -32,8 +32,7 @@ class ConfigurationKeys(Enum):
32
32
  ASSEMBLY_IMAGES = "AssemblyImages"
33
33
 
34
34
  class WolfConfiguration:
35
- """ Holds the PyWolf configuration.
36
- """
35
+ """ Holds the PyWolf configuration """
37
36
 
38
37
  def __init__(self, path=None):
39
38
  # We make sure we use a standard location
@@ -86,7 +85,6 @@ class WolfConfiguration:
86
85
  ConfigurationKeys.ASSEMBLY_IMAGES.value: int
87
86
  }
88
87
 
89
-
90
88
  self._check_config()
91
89
 
92
90
  def _check_config(self):
@@ -131,7 +129,7 @@ class GlobalOptionsDialog(wx.Dialog):
131
129
  super(GlobalOptionsDialog, self).__init__(*args, **kw)
132
130
 
133
131
  self.InitUI()
134
- self.SetSize((400, 400))
132
+ self.SetSize((600, 400))
135
133
  self.SetTitle(_("Global options"))
136
134
 
137
135
  def push_configuration(self, configuration):
@@ -196,9 +194,8 @@ class GlobalOptionsDialog(wx.Dialog):
196
194
  self.cfg_ticks_size = wx.TextCtrl(pnl, value='500.',style = wx.TE_CENTRE )
197
195
 
198
196
  hboxticks.Add(self.label_ticks_size, 1, wx.EXPAND)
199
- hboxticks.Add(self.cfg_ticks_size, 1, wx.EXPAND)
200
-
201
- sbs.Add(hboxticks, 1, wx.EXPAND)
197
+ hboxticks.Add(self.cfg_ticks_size, 1, wx.EXPAND, 5)
198
+ sbs.Add(hboxticks, 1, wx.EXPAND,5)
202
199
 
203
200
  self.cfg_ticks_bounds = wx.CheckBox(pnl, label=_('Add bounds to ticks'))
204
201
  self.cfg_ticks_bounds.SetToolTip(_('If not checked, the extreme values of the ticks will not be displayed'))
@@ -218,7 +215,7 @@ class GlobalOptionsDialog(wx.Dialog):
218
215
  self.cfg_assembly_images.SetToolTip(_('Choose the assembly mode for images -- horizontal, vertical or square'))
219
216
 
220
217
  locsizer.Add(self.label_assembly_images, 1, wx.EXPAND, 2)
221
- locsizer.Add(self.cfg_assembly_images, 1, wx.EXPAND)
218
+ locsizer.Add(self.cfg_assembly_images, 1, wx.EXPAND,5)
222
219
 
223
220
  sbs.Add(locsizer, 3, wx.EXPAND, 5)
224
221