Skip to content

File Menu

project-owner edited this page Dec 18, 2022 · 5 revisions

It's possible to adjust the file menu appearance and behavior by adjusting different properties in the file.browser section of the config/txt file:

[file.browser]
...
hide.folder.name = False
image.area = 18
image.size = 90
image.size.without.label = 96
icon.size = 60
padding = 2
rows = 5
columns = 2
alignment = left
sort.by.type = False
wrap.lines = False
horizontal.layout = True
font.height = 38

The same properties can be changed using the Configuration Web UI:

web

The following images show the meaning of the dimension properties.

icon

image

The rest properties will be explained in the following sections.

Default / Hidden Folder Name / Original

The following table shows how the file menu looks like with default parameters, with hidden folder names and the look & feel of the original file menu.

Type Properties Screenshot
Default hide.folder.name = False
image.area = 18
image.size = 90
image.size.without.label = 96
icon.size = 60
padding = 2
rows = 5
columns = 2
alignment = left
sort.by.type = False
wrap.lines = False
horizontal.layout = True
font.height = 38
Hide folder name hide.folder.name = True
rows = 2
columns = 5
font.height = 14
Original image.area = 74
rows = 3
columns = 3
alignment = center
font.height = 50

Alignment

The label and icon alignments can be changed by means of the alignment parameter.

Type Properties Screenshot
Left (default) image.area = 18
rows = 5
columns = 2
alignment = left
font.height = 38
Center image.area = 74
rows = 3
columns = 3
alignment = center
font.height = 50
Right image.area = 18
rows = 5
columns = 2
alignment = right
font.height = 38

Sorting

The file menu items can be sorted either alphabetically or by item type. There are such types as files, playlists and folders. If menu was sorted by type then the folders will be displayed first, then playlists and then files.

Type Properties Screenshot
Alphabetical (default) sort.by.type = False
Sort by type sort.by.type = True

Wrapping

The default setting is No Wrapping. It makes long strings appear as truncated and with the ellipsis at the end.

Type Properties Screenshot
No Wrapping (default) wrap.lines = False
Wrapping wrap.lines = True

Layout

The horizontal layout is the default one.

Type Properties Screenshot
Horizontal (default) horizontal.layout = True
Vertical horizontal.layout = False

<<Previous | Next>>

Contents

Clone this wiki locally