commit 19
This commit is contained in:
Binary file not shown.
@@ -180,6 +180,7 @@ class CustomFileDialog(tk.Toplevel):
|
||||
self.bottom_color = self.accent_color
|
||||
self.color_foreground = "#ffffff"
|
||||
self.freespace_background = self.sidebar_color
|
||||
style.configure("TSeparator", background="#000000")
|
||||
|
||||
else:
|
||||
self.selection_color = "#cce5ff" # Light blue for selection
|
||||
@@ -194,6 +195,7 @@ class CustomFileDialog(tk.Toplevel):
|
||||
self.bottom_color = "#d9d9d9"
|
||||
self.freespace_background = self.sidebar_color
|
||||
self.color_foreground = "#000000"
|
||||
style.configure("TSeparator", background="#d9d9d9")
|
||||
|
||||
style.configure("Header.TButton.Borderless.Round",
|
||||
background=self.header)
|
||||
@@ -332,6 +334,8 @@ class CustomFileDialog(tk.Toplevel):
|
||||
compound="left", command=lambda p=config['path']: self.navigate_to(p), style="Dark.TButton.Borderless")
|
||||
btn.pack(fill="x", pady=1)
|
||||
|
||||
ttk.Separator(sidebar_buttons_frame, orient='horizontal').pack(fill='x', pady=10, padx=20)
|
||||
|
||||
storage_frame = ttk.Frame(sidebar_frame, style="Sidebar.TFrame")
|
||||
storage_frame.grid(row=1, column=0, sticky="ew", padx=10)
|
||||
self.storage_label = ttk.Label(
|
||||
@@ -370,7 +374,7 @@ class CustomFileDialog(tk.Toplevel):
|
||||
command=self.on_cancel).grid(row=1, column=0, padx=10)
|
||||
|
||||
self.filter_combobox = ttk.Combobox(
|
||||
bottom_controls_frame, values=[ft[0] for ft in self.filetypes], state="readonly", width=20)
|
||||
bottom_controls_frame, values=[ft[0] for ft in self.filetypes], state="readonly", width=15)
|
||||
self.filter_combobox.grid(
|
||||
row=1, column=1, sticky="w", padx=10, pady=(5, 10))
|
||||
self.filter_combobox.bind(
|
||||
|
Reference in New Issue
Block a user