1module Tests.ElementAlignment exposing (..)
6import Testable.Element as Element exposing (..)
7import Testable.Element.Background as Background
8import Testable.Element.Font as Font
10import Tests.Palette as Palette exposing (..)
16 Testable.Runner.show view
19box : List (Testable.Attr msg) -> Testable.Element msg
24 , Background.color blue
31container : Testable.Element msg -> Testable.Element msg
36 , Background.color lightGrey
40view : Testable.Element msg
43 [ el [] (text "Alignment Within an El")
46 , text "alignLeft, centerX, alignRight"
47 , column [ spacing 20 ] <|
52 resizeable [ Background.color blue, alignLeft ] none
54 resizeable [ Background.color blue, centerX ] none
56 resizeable [ Background.color blue, alignRight ] none
59 , text "top, centerY, bottom"
60 , column [ spacing 20 ] <|
65 resizeable [ alignTop ] none
67 resizeable [ centerY ] none
69 resizeable [ alignBottom ] none
72 , text "align top ++ alignments"
73 , column [ spacing 20 ] <|
78 resizeable [ alignTop, alignLeft ] none
80 resizeable [ alignTop, centerX ] none
82 resizeable [ alignTop, alignRight ] none
85 , text "centerY ++ alignments"
86 , column [ spacing 20 ] <|
91 resizeable [ centerY, alignLeft ] none
93 resizeable [ centerY, centerX ] none
95 resizeable [ centerY, alignRight ] none
98 , text "alignBottom ++ alignments"
99 , column [ spacing 20 ] <|
104 resizeable [ alignBottom, alignLeft ] none
106 resizeable [ alignBottom, centerX ] none
108 resizeable [ alignBottom, alignRight ] none
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list