From 8de4df32588da953ed65aac01d327fe252760106 Mon Sep 17 00:00:00 2001 From: linek Date: Sat, 17 Feb 2018 17:48:06 +0100 Subject: [PATCH] Use tkinter.ttk --- gui.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gui.py b/gui.py index 24a567a..a58892d 100644 --- a/gui.py +++ b/gui.py @@ -1,7 +1,8 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -from tkinter import Tk, Frame, Label, Entry, StringVar, Button, IntVar, Checkbutton, filedialog, messagebox +from tkinter import Tk, StringVar, IntVar, filedialog, messagebox +from tkinter.ttk import Frame, Label, Entry, Button, Checkbutton from getmyancestors import Session, Tree import asyncio import re @@ -119,7 +120,7 @@ class Gui(Frame): self.title = Label(self, text='Sign In to FamilySearch') buttons = Frame(self) self.btn_quit = Button(buttons, text='Quit', command=self.quit) - self.btn_valid = Button(buttons, text='Sign In', fg='red', command=self.login) + self.btn_valid = Button(buttons, text='Sign In', command=self.login) self.title.pack() self.sign_in.pack() self.form.pack() -- 2.52.0