default theme closer to reality

This commit is contained in:
Brackyt 2026-01-25 19:52:54 +01:00
parent e0edb15ba9
commit e294ad1e06

View File

@ -96,29 +96,53 @@ Height = 15
BgColor = {IsBookSelected ? "black" : "white"} BgColor = {IsBookSelected ? "black" : "white"}
; Title centered in card ; Title centered in card
[BookTitle] [BookCover]
Parent = BookCard Parent = BookCard
Type = Bitmap
X = 0
Y = 0
Width = 240
Height = 400
Src = {BookCoverPath}
ScaleToFit = true
PreserveAspect = true
Visible = {HasCover}
; White box for text overlay
[InfoBox]
Parent = BookCard
Type = Container
X = 20
Y = 120
Width = 200
Height = 150
BgColor = white
Border = true
[BookTitle]
Parent = InfoBox
Type = Label Type = Label
Font = UI_12 Font = UI_12
Text = {BookTitle} Text = {BookTitle}
X = 20 X = 10
Y = 150 Y = 10
Width = 200 Width = 180
Height = 60 Height = 80
Color = {IsBookSelected ? "white" : "black"} Color = black
Align = center Align = center
Ellipsis = true Ellipsis = true
MaxLines = 3
[BookAuthor] [BookAuthor]
Parent = BookCard Parent = InfoBox
Type = Label Type = Label
Font = UI_10 Font = UI_10
Text = {BookAuthor} Text = {BookAuthor}
X = 20 X = 10
Y = 210 Y = 100
Width = 200 Width = 180
Height = 25 Height = 40
Color = {IsBookSelected ? "white" : "black"} Color = black
Align = center Align = center
Ellipsis = true Ellipsis = true
@ -134,6 +158,7 @@ Width = 200
Height = 25 Height = 25
Color = {IsBookSelected ? "white" : "black"} Color = {IsBookSelected ? "white" : "black"}
Align = center Align = center
Visible = {HasBook}
; --- No Book Message --- ; --- No Book Message ---
[NoBookCard] [NoBookCard]