mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-05 15:40:45 +08:00
Add popup on textctrl, even tough it does not work for MacOS, it does work for linux/windows.
This commit is contained in:
parent
0121b2c384
commit
7fb30600a2
@ -132,6 +132,9 @@ class SettingRow():
|
||||
sizer.Add(self.ctrl, (x,y+1), flag=wx.ALIGN_BOTTOM|wx.EXPAND)
|
||||
sizer.SetRows(x+1)
|
||||
|
||||
self.ctrl.Bind(wx.EVT_ENTER_WINDOW, self.OnMouseEnter)
|
||||
self.ctrl.Bind(wx.EVT_LEAVE_WINDOW, self.OnMouseExit)
|
||||
|
||||
self.defaultBGColour = self.ctrl.GetBackgroundColour()
|
||||
|
||||
panel.main.settingControlList.append(self)
|
||||
|
Loading…
x
Reference in New Issue
Block a user