Threshold-Yuzu/resource/layout/gamespage_grid.layout

92 lines
1.7 KiB
Plaintext

"resource/layout/gamespage_grid.layout"
{
controls
{
"grid"
{
"alignment" "justify" // left, right, justify
"interiorspacing" 18 // minimum interitem spacing, used for both x and y
"wheelpct" 50 // mouse wheel -> scroll this percent of an item's dy
"tabposition" 1
}
"emptylisttext" { control="RichText" style="emptylisttext" }
}
// random/generic settings go in "colors"
colors
{
// values defining the aspect ratio of the images in the grid view
GridView.OriginalImageWidth "460"
GridView.OriginalImageHeight "215"
// value defining the extra vertical distance to leave below
// the picture for drop shadow room, in px. This value should
// match the margin values in the layout statements in the gamespage_grid_*.layout files.
GridView.DropShadowLeading "10"
}
styles
{
WrapPanel
{
inset="0 0 0 0"
bgcolor="none"
render
{
}
render_bg {
// background gradient
2="fill( x0 - 10, y0, x1, y1, Root.Back )"
}
}
emptylisttext
{
textcolor=DefaultText
font-size=13 [$LINUX]
font-size=15
render_bg {}
}
// GameItem_whatever suffix is computed on the fly. (not case sensitive.) possible values:
// shortcut
// mod
// decrypting
// syncing
// installed
// updating
// uninstalled
// notinstalled (yes there are two)
GameItem_installed
{
alpha 255
}
GameItem_unInstalled
{
alpha 255
}
GameItem_Updating
{
alpha 255
}
}
layout
{
place
{
control = grid x=10 y=2 width=max height=max
}
place { control=emptylisttext x=0 y=0 margin=10 margin-top=9 width=max height=max }
}
}