eac24f4f8f25444c3f8036b7b53e54ebee8c29b2,invesalius/gui/widgets/gradient.py,GradientCtrl,_draw_controls,#GradientCtrl#,338
Before Change
if sys.platform != "win32":
self.spin_min.SetWindowVariant(wx.WINDOW_VARIANT_SMALL)
self.spin_max = intctrl.IntCtrl(self, size=(40,20),
style=wx.TE_PROCESS_ENTER)
self.spin_max.SetValue(self.maximun)
if sys.platform != "win32":
After Change
sizer.Add(self.gradient_slider, 1, wx.EXPAND)
sizer.Add(self.spin_max, 0, wx.LEFT, 2)
self.sizer = wx.BoxSizer(wx.HORIZONTAL)
self.sizer.Add(sizer, 1, wx.EXPAND)
self.SetSizer(self.sizer)
self.sizer.Fit(self)
// self.SetAutoLayout(1)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: invesalius/invesalius3
Commit Name: eac24f4f8f25444c3f8036b7b53e54ebee8c29b2
Time: 2019-04-16
Author: totonixsame@gmail.com
File Name: invesalius/gui/widgets/gradient.py
Class Name: GradientCtrl
Method Name: _draw_controls
Project Name: CellProfiler/CellProfiler
Commit Name: 8c9fe1b80d6caa3b2d13a0e366ce2e5b3c4a8e2a
Time: 2013-08-30
Author: leek@broadinstitute.org
File Name: cellprofiler/gui/plateviewer.py
Class Name: PlateViewer
Method Name: __init__
Project Name: CellProfiler/CellProfiler
Commit Name: c557ec9e035dffa2e33247eb28c57023e15e25e1
Time: 2013-08-28
Author: leek@broadinstitute.org
File Name: cellprofiler/gui/plateviewer.py
Class Name: PlateViewer
Method Name: __init__