diff options
| author | Teddy Wing | 2015-12-24 11:54:37 -0800 | 
|---|---|---|
| committer | Teddy Wing | 2015-12-24 11:54:37 -0800 | 
| commit | caba4fd1713abc46b9d443d313ea53714e43637d (patch) | |
| tree | 3829017328668ad9fcdec83543a65fbfaf0b97d8 /preferences.py | |
| parent | 13e58b1b5bd501458493c866004fe1cc9f5a8dbb (diff) | |
| download | RoboFont-Equalize-Sidebearings-Key-caba4fd1713abc46b9d443d313ea53714e43637d.tar.bz2 | |
preferences.py: Style window and controls
* Make the window a bit smaller because there's only one control
* Add a text label to the editable input
* Set a size for the editable input and move it into position to the
  right of the text label
Diffstat (limited to 'preferences.py')
| -rw-r--r-- | preferences.py | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/preferences.py b/preferences.py index aebd776..d770ab0 100644 --- a/preferences.py +++ b/preferences.py @@ -3,8 +3,9 @@ import vanilla  class EqualizeSidebearingsPreferences(object):      def __init__(self): -        self.w = vanilla.Window((200, 70), 'Equalize Sidebearings') -        self.w.activation_key = vanilla.EditText((0, 0, 0, 0), 'e') +        self.w = vanilla.Window((150, 50), 'Equalize Sidebearings') +        self.w.activation_key_label = vanilla.TextBox((10, 15, -10, 22), 'Short Key:') +        self.w.activation_key = vanilla.EditText((82, 12, -10, 25), 'e')          self.w.open()  EqualizeSidebearingsPreferences() | 
