[Mac] Execute dialog is cramped in Mac OS X
Bug #516858 reported by
Nadia Alramli
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Phatch |
Fix Released
|
Low
|
Stani |
Bug Description
A screenshot is attached
Changed in phatch: | |
milestone: | none → 0.2.7 |
Changed in phatch: | |
status: | Confirmed → In Progress |
summary: |
- Execute dialog is cramped in Mac OS X + [Mac] Execute dialog is cramped in Mac OS X |
Changed in phatch: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hi Greg,
You have a Mac right? Could you take care of this? It is pretty simple, fill the right width in phatch/ pyWx/dialogs. py (line 132):
class ExecuteDialog( BrowseMixin, dialogs. ExecuteDialog) :
def __init__(self, parent, drop=False, **options):
super( ExecuteDialog, self)._ _init__ (parent, -1, **options)
self.set_ drop(drop)
self.SetSize( (width, self.GetSize()[1]))
# width needs to be corrected manually as it is set too small
if wx.Platform == '__WXGTK__':
width = 600
elif wx.Platform == '__WXMAC__':
width = 450 #<----CHANGE THIS HERE!!
else:
width = 450
Create a new branch for it and attach a screenshot here of the result. Thanks!