Skip to content

Commit 6b02732

Browse files
authored
Merge pull request #77 from ryanbugden/ds5
UI
2 parents c5d32fa + 05567aa commit 6b02732

1 file changed

Lines changed: 27 additions & 25 deletions

File tree

Batch.roboFontExt/lib/batch.py

Lines changed: 27 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -83,30 +83,32 @@ class BatchController(ezui.WindowController):
8383
def build(self, sources=[]):
8484
content = f"""
8585
86-
#= ScrollingVerticalStack
87-
|---| @sources
88-
> (+-) @sourcesAddRemoveButton
89-
> ( Add Open UFO's ) @sourcesAddOpenUFOsButton
90-
91-
* HorizontalStack
92-
> * Box @desktopFontsBox
93-
>> !§ Desktop Fonts:
94-
{ buildFormatCheckBoxes(self.desktopFontsFormats, "desktopFont", ">>") }
95-
96-
> * Box @webFontsBox
97-
>> !§ Web Fonts:
98-
{ buildFormatCheckBoxes(self.webFontsFormats, "webFont", ">>") }
99-
100-
> * Box @variableFontsBox
101-
>> !§ Variable Fonts:
102-
{ buildFormatCheckBoxes(self.variableFontsFormats, "variableFont", ">>") }
103-
104-
=---=
105-
106-
(?) @help
107-
(*) @settings
108-
( Generate ) @generate
109-
"""
86+
#= ScrollingVerticalStack
87+
|---| @sources
88+
> (+-) @sourcesAddRemoveButton
89+
> ( Add Open UFOs ) @sourcesAddOpenUFOsButton
90+
91+
---
92+
93+
* HorizontalStack
94+
> * Box @desktopFontsBox
95+
>> !§ Desktop Fonts:
96+
{ buildFormatCheckBoxes(self.desktopFontsFormats, "desktopFont", ">>") }
97+
98+
> * Box @webFontsBox
99+
>> !§ Web Fonts:
100+
{ buildFormatCheckBoxes(self.webFontsFormats, "webFont", ">>") }
101+
102+
> * Box @variableFontsBox
103+
>> !§ Variable Fonts:
104+
{ buildFormatCheckBoxes(self.variableFontsFormats, "variableFont", ">>") }
105+
106+
=---=
107+
108+
(?) @help
109+
(*) @settings
110+
( Generate ) @generate
111+
"""
110112
descriptionData = dict(
111113
sources=dict(
112114
columnDescriptions=[dict(identifier="source", title="Sources", cellClassArguments=dict(truncationMode="head"))],
@@ -231,7 +233,7 @@ def result(path):
231233
if path:
232234
root = path[0]
233235

234-
progress = self.startProgress("Generating...")
236+
progress = self.startProgress("Generating...", parent=self.w)
235237
try:
236238
self.report = Report()
237239
self.report.writeTitle("Batch Generate:")

0 commit comments

Comments
 (0)