@@ -159,32 +159,32 @@ def make_line(
159159
160160 def make_header (position , project_files ):
161161 # Static files
162- make_line ("CIRCUITPY" , position )
162+ make_line ("CIRCUITPY" , ( position [ 0 ] + INDENT_SIZE , position [ 1 ]), triangle_icon = down_triangle )
163163 make_line (
164164 ".fseventsd" ,
165- (position [0 ] + INDENT_SIZE , position [1 ] + (LINE_SPACING * 1 )),
165+ (position [0 ] + INDENT_SIZE * 2 , position [1 ] + (LINE_SPACING * 1 )),
166166 hidden = True ,
167167 triangle_icon = right_triangle ,
168168 )
169169 make_line (
170170 ".metadata_never_index" ,
171- (position [0 ] + INDENT_SIZE , position [1 ] + (LINE_SPACING * 2 )),
171+ (position [0 ] + INDENT_SIZE * 2 , position [1 ] + (LINE_SPACING * 2 )),
172172 icon = file_empty_hidden_icon ,
173173 hidden = True ,
174174 )
175175 make_line (
176176 ".Trashes" ,
177- (position [0 ] + INDENT_SIZE , position [1 ] + (LINE_SPACING * 3 )),
177+ (position [0 ] + INDENT_SIZE * 2 , position [1 ] + (LINE_SPACING * 3 )),
178178 icon = file_empty_hidden_icon ,
179179 hidden = True ,
180180 )
181181 make_line (
182182 "boot_out.txt" ,
183- (position [0 ] + INDENT_SIZE , position [1 ] + (LINE_SPACING * 4 )),
183+ (position [0 ] + INDENT_SIZE * 2 , position [1 ] + (LINE_SPACING * 4 )),
184184 )
185185 make_line (
186186 "code.py" ,
187- (position [0 ] + INDENT_SIZE , position [1 ] + (LINE_SPACING * 5 )),
187+ (position [0 ] + INDENT_SIZE * 2 , position [1 ] + (LINE_SPACING * 5 )),
188188 icon = file_icon ,
189189 )
190190
@@ -206,7 +206,7 @@ def make_header(position, project_files):
206206 cur_file_icon = FILE_TYPE_ICON_MAP .get (cur_file_extension , file_empty_icon )
207207 make_line (
208208 file ,
209- (position [0 ] + INDENT_SIZE , position [1 ] + (LINE_SPACING * (6 + i ))),
209+ (position [0 ] + INDENT_SIZE * 2 , position [1 ] + (LINE_SPACING * (6 + i ))),
210210 icon = cur_file_icon ,
211211 )
212212 rows_added += 1
@@ -215,7 +215,7 @@ def make_header(position, project_files):
215215 make_line (
216216 file ,
217217 (
218- position [0 ] + INDENT_SIZE ,
218+ position [0 ] + INDENT_SIZE * 2 ,
219219 position [1 ] + (LINE_SPACING * (6 + i + len (project_files_to_draw ))),
220220 ),
221221 triangle_icon = right_triangle ,
@@ -225,7 +225,7 @@ def make_header(position, project_files):
225225 make_line (
226226 "lib" ,
227227 (
228- position [0 ] + INDENT_SIZE ,
228+ position [0 ] + INDENT_SIZE * 2 ,
229229 position [1 ] + (LINE_SPACING * (5 + rows_added + 1 )),
230230 ),
231231 triangle_icon = down_triangle ,
@@ -288,7 +288,7 @@ def make_libraries(libraries, position):
288288 triangle_icon = right_triangle
289289 make_line (
290290 lib_name ,
291- (position [0 ] + INDENT_SIZE * 2 , position [1 ] + (LINE_SPACING * i )),
291+ (position [0 ] + INDENT_SIZE * 3 , position [1 ] + (LINE_SPACING * i )),
292292 triangle_icon = triangle_icon ,
293293 )
294294
0 commit comments