Skip to content

Commit

Permalink
fixed scrollbar-related mobile tests
Browse files Browse the repository at this point in the history
  • Loading branch information
s77rt committed Jul 27, 2021
1 parent 8be6df4 commit eb91dcc
Show file tree
Hide file tree
Showing 19 changed files with 144 additions and 0 deletions.
Expand Up @@ -17,6 +17,14 @@
</widget>
</widget>
</container>
<widget pos="0,31" size="110x6" type="*widget.scrollBarArea">
<widget pos="0,3" size="80x3" type="*widget.scrollBar">
<rectangle fillColor="scrollbar" size="80x3"/>
</widget>
</widget>
<widget pos="110,0" size="0x37" type="*widget.Shadow">
<linearGradient angle="270" endColor="shadow" pos="-8,0" size="8x37"/>
</widget>
</widget>
<container pos="114,0" size="36x37">
<widget size="36x37" type="*widget.Button">
Expand Down
Expand Up @@ -17,6 +17,14 @@
</widget>
</widget>
</container>
<widget pos="0,31" size="110x6" type="*widget.scrollBarArea">
<widget pos="0,3" size="80x3" type="*widget.scrollBar">
<rectangle fillColor="scrollbar" size="80x3"/>
</widget>
</widget>
<widget pos="110,0" size="0x37" type="*widget.Shadow">
<linearGradient angle="270" endColor="shadow" pos="-8,0" size="8x37"/>
</widget>
</widget>
<container pos="114,0" size="36x37">
<widget size="36x37" type="*widget.Button">
Expand Down
8 changes: 8 additions & 0 deletions container/testdata/doctabs/mobile/change_content_initial.xml
Expand Up @@ -17,6 +17,14 @@
</widget>
</widget>
</container>
<widget pos="0,31" size="110x6" type="*widget.scrollBarArea">
<widget pos="0,3" size="80x3" type="*widget.scrollBar">
<rectangle fillColor="scrollbar" size="80x3"/>
</widget>
</widget>
<widget pos="110,0" size="0x37" type="*widget.Shadow">
<linearGradient angle="270" endColor="shadow" pos="-8,0" size="8x37"/>
</widget>
</widget>
<container pos="114,0" size="36x37">
<widget size="36x37" type="*widget.Button">
Expand Down
Expand Up @@ -17,6 +17,14 @@
<image pos="16,8" rsc="confirmIcon" size="40x40"/>
</widget>
</container>
<widget pos="0,50" size="110x6" type="*widget.scrollBarArea">
<widget pos="0,3" size="81x3" type="*widget.scrollBar">
<rectangle fillColor="scrollbar" size="81x3"/>
</widget>
</widget>
<widget pos="110,0" size="0x56" type="*widget.Shadow">
<linearGradient angle="270" endColor="shadow" pos="-8,0" size="8x56"/>
</widget>
</widget>
<container pos="114,0" size="36x56">
<widget size="36x56" type="*widget.Button">
Expand Down
Expand Up @@ -17,6 +17,14 @@
<image pos="16,8" rsc="confirmIcon" size="40x40"/>
</widget>
</container>
<widget pos="0,50" size="110x6" type="*widget.scrollBarArea">
<widget pos="0,3" size="81x3" type="*widget.scrollBar">
<rectangle fillColor="scrollbar" size="81x3"/>
</widget>
</widget>
<widget pos="110,0" size="0x56" type="*widget.Shadow">
<linearGradient angle="270" endColor="shadow" pos="-8,0" size="8x56"/>
</widget>
</widget>
<container pos="114,0" size="36x56">
<widget size="36x56" type="*widget.Button">
Expand Down
8 changes: 8 additions & 0 deletions container/testdata/doctabs/mobile/change_icon_initial.xml
Expand Up @@ -17,6 +17,14 @@
<image pos="16,8" rsc="confirmIcon" size="40x40"/>
</widget>
</container>
<widget pos="0,50" size="110x6" type="*widget.scrollBarArea">
<widget pos="0,3" size="81x3" type="*widget.scrollBar">
<rectangle fillColor="scrollbar" size="81x3"/>
</widget>
</widget>
<widget pos="110,0" size="0x56" type="*widget.Shadow">
<linearGradient angle="270" endColor="shadow" pos="-8,0" size="8x56"/>
</widget>
</widget>
<container pos="114,0" size="36x56">
<widget size="36x56" type="*widget.Button">
Expand Down
Expand Up @@ -17,6 +17,14 @@
</widget>
</widget>
</container>
<widget pos="0,31" size="110x6" type="*widget.scrollBarArea">
<widget pos="0,3" size="74x3" type="*widget.scrollBar">
<rectangle fillColor="scrollbar" size="74x3"/>
</widget>
</widget>
<widget pos="110,0" size="0x37" type="*widget.Shadow">
<linearGradient angle="270" endColor="shadow" pos="-8,0" size="8x37"/>
</widget>
</widget>
<container pos="114,0" size="36x37">
<widget size="36x37" type="*widget.Button">
Expand Down
Expand Up @@ -17,6 +17,14 @@
</widget>
</widget>
</container>
<widget pos="0,31" size="110x6" type="*widget.scrollBarArea">
<widget pos="0,3" size="74x3" type="*widget.scrollBar">
<rectangle fillColor="scrollbar" size="74x3"/>
</widget>
</widget>
<widget pos="110,0" size="0x37" type="*widget.Shadow">
<linearGradient angle="270" endColor="shadow" pos="-8,0" size="8x37"/>
</widget>
</widget>
<container pos="114,0" size="36x37">
<widget size="36x37" type="*widget.Button">
Expand Down
8 changes: 8 additions & 0 deletions container/testdata/doctabs/mobile/change_label_initial.xml
Expand Up @@ -17,6 +17,14 @@
</widget>
</widget>
</container>
<widget pos="0,31" size="110x6" type="*widget.scrollBarArea">
<widget pos="0,3" size="80x3" type="*widget.scrollBar">
<rectangle fillColor="scrollbar" size="80x3"/>
</widget>
</widget>
<widget pos="110,0" size="0x37" type="*widget.Shadow">
<linearGradient angle="270" endColor="shadow" pos="-8,0" size="8x37"/>
</widget>
</widget>
<container pos="114,0" size="36x37">
<widget size="36x37" type="*widget.Button">
Expand Down
Expand Up @@ -29,6 +29,14 @@
</widget>
</widget>
</container>
<widget pos="0,31" size="260x6" type="*widget.scrollBarArea">
<widget pos="0,3" size="222x3" type="*widget.scrollBar">
<rectangle fillColor="scrollbar" size="222x3"/>
</widget>
</widget>
<widget pos="260,0" size="0x37" type="*widget.Shadow">
<linearGradient angle="270" endColor="shadow" pos="-8,0" size="8x37"/>
</widget>
</widget>
<container pos="264,0" size="36x37">
<widget size="36x37" type="*widget.Button">
Expand Down
8 changes: 8 additions & 0 deletions container/testdata/doctabs/mobile/hover_none.xml
Expand Up @@ -17,6 +17,14 @@
</widget>
</widget>
</container>
<widget pos="0,31" size="110x6" type="*widget.scrollBarArea">
<widget pos="0,3" size="80x3" type="*widget.scrollBar">
<rectangle fillColor="scrollbar" size="80x3"/>
</widget>
</widget>
<widget pos="110,0" size="0x37" type="*widget.Shadow">
<linearGradient angle="270" endColor="shadow" pos="-8,0" size="8x37"/>
</widget>
</widget>
<container pos="114,0" size="36x37">
<widget size="36x37" type="*widget.Button">
Expand Down
8 changes: 8 additions & 0 deletions container/testdata/doctabs/mobile/tab_location_bottom.xml
Expand Up @@ -23,6 +23,14 @@
</widget>
</widget>
</container>
<widget pos="0,31" size="20x6" type="*widget.scrollBarArea">
<widget pos="0,3" size="16x3" type="*widget.scrollBar">
<rectangle fillColor="scrollbar" size="16x3"/>
</widget>
</widget>
<widget pos="20,0" size="0x37" type="*widget.Shadow">
<linearGradient angle="270" endColor="shadow" pos="-8,0" size="8x37"/>
</widget>
</widget>
<container pos="24,0" size="36x37">
<widget size="36x37" type="*widget.Button">
Expand Down
8 changes: 8 additions & 0 deletions container/testdata/doctabs/mobile/tab_location_top.xml
Expand Up @@ -23,6 +23,14 @@
</widget>
</widget>
</container>
<widget pos="0,31" size="20x6" type="*widget.scrollBarArea">
<widget pos="0,3" size="16x3" type="*widget.scrollBar">
<rectangle fillColor="scrollbar" size="16x3"/>
</widget>
</widget>
<widget pos="20,0" size="0x37" type="*widget.Shadow">
<linearGradient angle="270" endColor="shadow" pos="-8,0" size="8x37"/>
</widget>
</widget>
<container pos="24,0" size="36x37">
<widget size="36x37" type="*widget.Button">
Expand Down
8 changes: 8 additions & 0 deletions container/testdata/doctabs/mobile/tapped_all_tabs.xml
Expand Up @@ -29,6 +29,14 @@
</widget>
</widget>
</container>
<widget pos="0,31" size="220x6" type="*widget.scrollBarArea">
<widget pos="96,3" size="123x3" type="*widget.scrollBar">
<rectangle fillColor="scrollbar" size="123x3"/>
</widget>
</widget>
<widget size="0x37" type="*widget.Shadow">
<linearGradient angle="270" size="8x37" startColor="shadow"/>
</widget>
</widget>
<container pos="224,0" size="76x37">
<widget size="36x37" type="*widget.Button">
Expand Down
8 changes: 8 additions & 0 deletions container/testdata/doctabs/mobile/tapped_create_tab.xml
Expand Up @@ -29,6 +29,14 @@
</widget>
</widget>
</container>
<widget pos="0,31" size="220x6" type="*widget.scrollBarArea">
<widget pos="96,3" size="123x3" type="*widget.scrollBar">
<rectangle fillColor="scrollbar" size="123x3"/>
</widget>
</widget>
<widget size="0x37" type="*widget.Shadow">
<linearGradient angle="270" size="8x37" startColor="shadow"/>
</widget>
</widget>
<container pos="224,0" size="76x37">
<widget size="36x37" type="*widget.Button">
Expand Down
8 changes: 8 additions & 0 deletions container/testdata/doctabs/mobile/tapped_first_selected.xml
Expand Up @@ -23,6 +23,14 @@
</widget>
</widget>
</container>
<widget pos="0,31" size="220x6" type="*widget.scrollBarArea">
<widget pos="0,3" size="213x3" type="*widget.scrollBar">
<rectangle fillColor="scrollbar" size="213x3"/>
</widget>
</widget>
<widget pos="220,0" size="0x37" type="*widget.Shadow">
<linearGradient angle="270" endColor="shadow" pos="-8,0" size="8x37"/>
</widget>
</widget>
<container pos="224,0" size="76x37">
<widget size="36x37" type="*widget.Button">
Expand Down
8 changes: 8 additions & 0 deletions container/testdata/doctabs/mobile/tapped_second_selected.xml
Expand Up @@ -23,6 +23,14 @@
</widget>
</widget>
</container>
<widget pos="0,31" size="220x6" type="*widget.scrollBarArea">
<widget pos="0,3" size="213x3" type="*widget.scrollBar">
<rectangle fillColor="scrollbar" size="213x3"/>
</widget>
</widget>
<widget pos="220,0" size="0x37" type="*widget.Shadow">
<linearGradient angle="270" endColor="shadow" pos="-8,0" size="8x37"/>
</widget>
</widget>
<container pos="224,0" size="76x37">
<widget size="36x37" type="*widget.Button">
Expand Down
8 changes: 8 additions & 0 deletions container/testdata/doctabs/mobile/tapped_third_selected.xml
Expand Up @@ -23,6 +23,14 @@
</widget>
</widget>
</container>
<widget pos="0,31" size="220x6" type="*widget.scrollBarArea">
<widget pos="6,3" size="213x3" type="*widget.scrollBar">
<rectangle fillColor="scrollbar" size="213x3"/>
</widget>
</widget>
<widget size="0x37" type="*widget.Shadow">
<linearGradient angle="270" size="8x37" startColor="shadow"/>
</widget>
</widget>
<container pos="224,0" size="76x37">
<widget size="36x37" type="*widget.Button">
Expand Down
Binary file modified container/testdata/doctabs/mobile/theme_ugly.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit eb91dcc

Please sign in to comment.