Threshold-Yuzu/resource/layout/gamespage_details_screensho...

75 lines
1.7 KiB
Plaintext
Raw Normal View History

2018-07-03 03:51:33 +00:00
"resource/layout/gamespage_details_screenshots_list.layout"
{
controls
{
screenshotsarea { controlname="CScreenshotsPanel" style="screenshotsarea" }
screenshotslabelmore { controlname="Label" style="screenshotslabelmore" labeltext="#Steam_MoreScreenshots" textAlignment="center" tooltiptext="#Steam_ViewAllScreenshots"}
}
colors
{
// Note, the below values are used for dynamic layout in code, and must match the values from place
// commands below for layout to work correctly.
// ImageAreaSpacing must be the spacing between achievement images
GameDetailsScreenshots.ImageAreaSpacing "12"
// Dimensions for the more label
GameDetailsScreenshots.MoreLabelSize "46"
// Height to scale all screenshots to, they may be variable width
GameDetailsScreenshots.ImageHeight "108"
Tooltip.Anchor=Parent
}
styles
{
infolabel
{
font-size=13 [$LINUX]
font-size=15
textcolor=DefaultText
}
screenshotslabelmore
{
inset="-3 0 0 0"
font-size=13 [$LINUX]
font-size=15
textcolor=Button.Text
font-family=basefont
render_bg
{
// background fill
0="fill( x0, y0, x1, y1, Button.Back )"
}
}
screenshotslabelmore:hover
{
inset="-3 0 0 0"
font-size=13 [$LINUX]
font-size=15
textcolor=Button.Hover.Text
font-family=basefont
render_bg
{
// background fill
0="fill( x0, y0, x1, y1, Button.Back )"
1="fill( x0, y0, x1, y0 + 2, Button.Hover )"
2="fill( x0, y1 - 2, x1, y1, Button.Hover )"
3="fill( x0, y0, x0 + 2, y1, Button.Hover )"
4="fill( x1 - 2, y0, x1, y1, Button.Hover )"
}
}
}
layout
{
region { name=body margin=0 width=max height=max }
}
}