def __init__(self):
        self._get_fonts()
        # window
        self.title = 'interpol'
        self.height = (self.nudge_button * 4) + (self.text_height * 6) + self.progress_bar + (self.padding_y * 8) + (self.button_height) - 10
        self.value_box = 60
        self.column_2 = self.value_box + (self.nudge_button * 7) - 6
        self.w = FloatingWindow((self.width, self.height), self.title)
        # master 1
        x = self.padding_x
        y = 8 - self.padding_y
        self.w._f1_label = TextBox(
                    (x, y + 3,
                    -self.padding_x,
                    self.text_height),
                    "master 1",
                    sizeStyle=self.size_style)
        y += self.text_height
        self.w._f1_font = PopUpButton(
                    (x, y,
                    -self.padding_x,
                    self.text_height),
                    self.all_fonts_names,
                    sizeStyle=self.size_style)
        y += self.text_height
        # master 2
        self.w._f2_label = TextBox(
                    (x, y + 3,
                    -self.padding_x,
                    self.text_height),
                    "master 2",
                    sizeStyle=self.size_style)
        y += self.text_height
        self.w._f2_font = PopUpButton(
                    (x, y,
                    -self.padding_x,
                    self.text_height),
                    self.all_fonts_names,
                    sizeStyle=self.size_style)
        y += self.text_height
        # target
        self.w._f3_label = TextBox(
                    (x, y + 3,
                    -self.padding_x,
                    self.text_height),
                    "target font",
                    sizeStyle=self.size_style)
        y += self.text_height
        self.w._f3_font = PopUpButton(
                    (x, y,
                    -self.padding_x,
                    self.text_height),
                    self.all_fonts_names,
                    sizeStyle=self.size_style)
        # factor x
        x = 0
        y += (self.text_height + self.padding_y)
        self.w._factor_x = Spinner(
                    (x, y),
                    default='0.50',
                    scale=.01,
                    integer=False,
                    label='x factor')
        # factor y
        y += self.w._factor_x.getPosSize()[3]
        self.w._factor_y = Spinner(
                    (x, y),
                    default='0.50',
                    scale=.01,
                    integer=False,
                    label='y factor')
        # proporional
        # x = self.padding_x
        y += self.w._factor_y.getPosSize()[3]
        # self.w._proportional_checkbox = CheckBox(
        #             (x, y,
        #             -self.padding_x,
        #             self.text_height),
        #             "proportional",
        #             value=self.proportional,
        #             sizeStyle=self.size_style,
        #             callback=self._proportional_callback)
        # apply button
        x = self.padding_x
        # y += (self.text_height + self.padding_y) - 3
        self.w.button_apply = SquareButton(
                    (x, y,
                    -self.padding_x,
                    self.button_height),
                    "interpolate",
                    callback=self.apply_callback,
                    sizeStyle=self.size_style)
        # progress bar
        y += (self.button_height + self.padding_y)
        self.w.bar = ProgressBar(
                    (x, y,
                    -self.padding_x,
                    self.progress_bar),
                    isIndeterminate=True,
                    sizeStyle=self.size_style)
        # bind
        self.w.bind("became key", self.update_callback)
        self.w.bind("close", self.on_close_window)
        # observers
        addObserver(self, "update_callback", "newFontDidOpen")
        addObserver(self, "update_callback", "fontDidOpen")
        addObserver(self, "update_callback", "fontDidClose")
        # open window
        self.w.open()

    # apply

    # def _proportional_callback(self, sender):
    #     self.proportional = self.w._proportional_checkbox.get()
dataset/ETHPy150Open gferreira/hTools2/Lib/hTools2/dialogs/glyphs/interpolate.py/interpolateGlyphsDialog.__init__/swapped operands of `-`