Skip to content

Commit 050158f

Browse files
committed
Settings UI
- Make apply button default - Button widths same as Generate button width
1 parent 45d212e commit 050158f

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

Batch.roboFontExt/lib/batchSettings.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,11 @@ def build(self, parent):
189189
valueType="integer",
190190
),
191191
cancel=dict(
192-
keyEquivalent=chr(27)
192+
width=85,
193+
keyEquivalent=chr(27),
194+
),
195+
apply=dict(
196+
width=85,
193197
),
194198
)
195199
self.w = ezui.EZSheet(
@@ -198,6 +202,7 @@ def build(self, parent):
198202
descriptionData=descriptionData,
199203
size=(700, 500),
200204
minSize=(700, 250),
205+
defaultButton="apply",
201206
controller=self
202207
)
203208
data = getExtensionDefault("com.typemytype.batch.settings", defaultSettings)

0 commit comments

Comments
 (0)