Skip to content
Snippets Groups Projects
Select Git revision
  • 2ca747f90264c88db69546dbfd2e995ff0f861a1
  • main default protected
2 results

BaseScreen.fx.yaml

Blame
  • BaseScreen.fx.yaml 13.12 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.4
                Items: |
                    =Table(
                        { Text: "Norm", Val: "You are a helpful assistent" }, 
                        { Text: "Kid", Val: "You answer in kid language and no longer than 3 sentences" }, 
                        { Text: "Pirat", Val: "Antworte wie ein Pirat in maximal 3 Sätzen" }
                    )
                Size: =21
                Width: =ConBan.Height*1.7
                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: