pygui updated main app frame to use grid layout like everything else

This commit is contained in:
Blake Harnden 2020-05-02 23:51:42 -07:00
parent be70c5383e
commit b858e66c49
8 changed files with 60 additions and 38 deletions

View file

@ -3,7 +3,7 @@ core node services
"""
import tkinter as tk
from tkinter import messagebox, ttk
from typing import TYPE_CHECKING, Any
from typing import TYPE_CHECKING
from core.gui.dialogs.dialog import Dialog
from core.gui.dialogs.serviceconfig import ServiceConfigDialog
@ -16,7 +16,9 @@ if TYPE_CHECKING:
class NodeServiceDialog(Dialog):
def __init__(self, master: Any, app: "Application", canvas_node: "CanvasNode"):
def __init__(
self, master: tk.Widget, app: "Application", canvas_node: "CanvasNode"
):
title = f"{canvas_node.core_node.name} Services"
super().__init__(master, app, title)
self.app = app