Keep MySQL installer option visible
This commit is contained in:
@@ -223,8 +223,8 @@ class DeployWorkbench(tk.Tk):
|
||||
def show_environment_installer(self) -> None:
|
||||
dialog = tk.Toplevel(self)
|
||||
dialog.title("\u5b89\u88c5\u73af\u5883")
|
||||
dialog.geometry("680x420")
|
||||
dialog.minsize(620, 360)
|
||||
dialog.geometry("680x540")
|
||||
dialog.minsize(620, 500)
|
||||
dialog.configure(bg="#f5f7fb")
|
||||
dialog.transient(self)
|
||||
|
||||
@@ -245,7 +245,9 @@ class DeployWorkbench(tk.Tk):
|
||||
ttk.Button(jdk_row, text="\u52a0\u5165 PATH", command=lambda: self.add_tool_to_path("JDK")).pack(side=tk.LEFT, padx=(8, 0))
|
||||
ttk.Label(jdk_row, textvariable=self.jdk_reason, style="Muted.TLabel").pack(side=tk.LEFT, fill=tk.X, expand=True, padx=(10, 0))
|
||||
|
||||
for name in ("Maven", "Tomcat", "Gradle", "Node.js", "Git", "MySQL"):
|
||||
# MySQL is the most commonly missing deployment dependency. Keep it at
|
||||
# the top so it remains visible on displays using high DPI scaling.
|
||||
for name in ("MySQL", "Maven", "Tomcat", "Gradle", "Node.js", "Git"):
|
||||
row = ttk.Frame(panel, style="Panel.TFrame")
|
||||
row.pack(fill=tk.X, pady=5)
|
||||
ttk.Label(row, text=name, width=12, style="CardTitle.TLabel").pack(side=tk.LEFT)
|
||||
|
||||
Reference in New Issue
Block a user