Added license agreement dialog and added more space to troubleshooting dialog
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@ dist/
|
||||
build_temp/
|
||||
AppDir/
|
||||
build
|
||||
|
||||
*.ini
|
||||
|
||||
# Python cache files
|
||||
__pycache__/
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
1
|
||||
@@ -136,18 +136,6 @@ class LicenseAgreementFrame(tk.Frame):
|
||||
button_frame.pack(fill=tk.X, pady=(10, 0))
|
||||
|
||||
# Buttons
|
||||
self.disagree_btn = tk.Button(
|
||||
button_frame,
|
||||
text="Disagree & Exit",
|
||||
command=self.on_disagree,
|
||||
bg="#ff6b6b",
|
||||
fg="white",
|
||||
font=("Arial", 11, "bold"),
|
||||
width=15,
|
||||
height=2
|
||||
)
|
||||
self.disagree_btn.pack(side=tk.LEFT)
|
||||
|
||||
self.agree_btn = tk.Button(
|
||||
button_frame,
|
||||
text="I Agree",
|
||||
@@ -158,7 +146,19 @@ class LicenseAgreementFrame(tk.Frame):
|
||||
width=15,
|
||||
height=2
|
||||
)
|
||||
self.agree_btn.pack(side=tk.RIGHT)
|
||||
self.agree_btn.pack(side=tk.LEFT)
|
||||
|
||||
self.disagree_btn = tk.Button(
|
||||
button_frame,
|
||||
text="Disagree & Exit",
|
||||
command=self.on_disagree,
|
||||
bg="#ff6b6b",
|
||||
fg="white",
|
||||
font=("Arial", 11, "bold"),
|
||||
width=15,
|
||||
height=2
|
||||
)
|
||||
self.disagree_btn.pack(side=tk.RIGHT)
|
||||
|
||||
# Center text
|
||||
center_label = tk.Label(
|
||||
|
||||
@@ -559,8 +559,8 @@ class AndroidFileHandlerGUI(tk.Tk):
|
||||
# Create custom dialog window
|
||||
dialog = tk.Toplevel(self)
|
||||
dialog.title("Check device connection and enable USB Debugging")
|
||||
dialog.geometry("700x450") # Increased height for better button spacing
|
||||
dialog.minsize(700, 450) # Set minimum size to current default
|
||||
dialog.geometry("700x600") # Increased height for better button spacing
|
||||
dialog.minsize(700, 600) # Set minimum size to ensure all content is visible
|
||||
dialog.resizable(True, True)
|
||||
dialog.transient(self)
|
||||
dialog.grab_set()
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
1
|
||||
Reference in New Issue
Block a user