Commit d9bcdf73 authored by Michael Rudolf's avatar Michael Rudolf
Browse files

Minor formatting changes.

parent 775d39b8
......@@ -8,7 +8,6 @@ import sys
import tkinter as tk
from tkinter import filedialog, messagebox, ttk
import rstevaluation
from rstevaluation import RST_pick_GUI as main
from rstevaluation import get_icons as rsticons
from rstevaluation import processing as rstprocess
......@@ -272,7 +271,9 @@ class RST_pick_GUI(tk.Tk):
opt_dlg.grid()
opt_dlg.label_options = ttk.Label(
opt_dlg,
text='Options:')
text='Options:',
font=('Helvetica', 12, 'bold')
)
opt_dlg.label_options.grid(column=0, row=0, sticky='EW')
# Dynamically generate options based on config entries
for (i, item) in enumerate(self.cfg['parameters'].items()):
......@@ -285,7 +286,10 @@ class RST_pick_GUI(tk.Tk):
textvariable=self.params[item[0]],
justify='right',
width=45)
opt_dlg.entry_item.grid(column=1, row=i + 1, sticky='EW')
opt_dlg.entry_item.grid(
column=1, row=i + 1,
sticky='EW',
pady=1)
opt_dlg.label_unit = ttk.Label(
opt_dlg,
text=self.cfg['units'][item[0]])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment