Skip to content

Commit

Permalink
installation instructions for macOS and interface sizing tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Washington committed Oct 13, 2020
1 parent d3ffb7b commit 81d5a96
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,19 @@ This is a tool for [currently] manual annotation of UTI (Ultrasound Tongue Imagi

## Installation

### macOS

1. Install [Homebrew](https://brew.sh).
2. Download the UltraTrace source code, e.g. using `git`.
3. Use Homebrew to install python3:
```bash
$ brew install python3
```
4. Run setup in the UltraTrace directory:
```bash
$ python3 setup.py install
```

## Use

```bash
Expand Down
5 changes: 4 additions & 1 deletion ultratrace/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,10 @@ def setWidgetDefaults(self):

# some styling
self.fontStyle = Style()
self.fontStyle.configure('symbol.TButton', font=('DejaVu Serif', 20))
if util.get_platform() == 'Darwin':
self.fontStyle.configure('symbol.TButton', font=('DejaVu Serif', 26))
else:
self.fontStyle.configure('symbol.TButton', font=('DejaVu Serif', 26))

# declare string variables
self.currentFileSV = StringVar(self)
Expand Down

0 comments on commit 81d5a96

Please sign in to comment.