-
Manuel Geyer authoredManuel Geyer authored
BaseScreen.fx.yaml 14.97 KiB
BaseScreen As screen:
Fill: =RGBA(0, 52, 128, 1)
ImagePosition: =ImagePosition.Fill
ConBan As groupContainer.manualLayoutContainer:
BorderStyle: =BorderStyle.None
DropShadow: =DropShadow.None
Height: =Parent.Height/13
Width: =Parent.Width
ZIndex: =1
Banlabel1 As label:
Align: =Align.Center
AutoHeight: =true
BorderColor: =RGBA(0, 0, 0, 0)
BorderStyle: =BorderStyle.None
BorderThickness: =2
Color: =RGBA(255, 255, 255, 1)
DisabledBorderColor: =RGBA(0, 0, 0, 0)
DisabledColor: =RGBA(255, 255, 255, 1)
Fill: =RGBA(0, 52, 128, 1)
FocusedBorderThickness: =2
Font: =Font.'Segoe UI'
Height: =ConBan.Height
Italic: =true
Size: =ConBan.Height/3.6
Text: |-
="Ask
ChatGPT"
Width: =ConBan.Height*1.6
X: |-
=//ConBan.Width - (ConBan.Width - ConBan.Width/25)
ConBan.Width - ConBan.Width/25 - Banlabel1.Width
Y: =ConBan.Y
ZIndex: =1
Logo As image:
AccessibleLabel: ="ARD Logo"
Fill: =RGBA(0, 52, 128, 1)
Height: =ConBan.Height - (ConBan.Height/6)
Image: ='ard-logo'
Width: =ConBan.Width/3.5
X: =ConBan.Width/3
Y: =ConBan.Y + (ConBan.Height/7)
ZIndex: =2
behave1 As dropdown:
Default: ="Ich bin ein hilfsbereiter Assistent"
Height: =ConBan.Height/1.6
Items: |
=Table(
{ Text: "Norm", Val: "Du bist ein hilfbereiter Assistent" },
{ Text: "Kid", Val: "Du antwortest in Kindersprachen und nicht länger als in drei Sätzen" },
{ Text: "Pirat", Val: "Antworte wie ein Pirat und nicht länger als in drei Sätzen" }
)
Size: =21
Width: =ConBan.Height*1.6
X: =ConBan.Width - (ConBan.Width - ConBan.Width/25)
Y: =ConBan.Y + (ConBan.Height/4)
ZIndex: =3
ConFkt1 As groupContainer.manualLayoutContainer:
BorderStyle: =BorderStyle.None
DropShadow: =DropShadow.None
Height: =Parent.Height/11
Width: =Parent.Width
Y: =ConResp.Y + ConResp.Height
ZIndex: =2
Creativity1 As toggleSwitch: