Add a confirmation dialog to stock app Settings page and style it by default
R=ianh@google.com, abarth, hixie Review URL: https://codereview.chromium.org/1201273002.
This commit is contained in:
parent
c444157614
commit
2856617d4c
@ -27,7 +27,7 @@ PAINT FOR FRAME #3 ----------------------------------------------
|
||||
3 | | | TestDisplayList() constructor: 800.0 x 600.0
|
||||
3 | | | paintChild RenderConstrainedBox at Point(8.0, 8.0)
|
||||
3 | | | | TestDisplayList() constructor: 800.0 x 600.0
|
||||
3 | | | | drawRRect(Instance of 'RRect', Paint(color:Color(0xfffafafa)))
|
||||
3 | | | | drawRRect(Instance of 'RRect', Paint(color:Color(0x00000000)))
|
||||
3 | | | | paintChild RenderPositionedBox at Point(8.0, 0.0)
|
||||
3 | | | | | TestDisplayList() constructor: 800.0 x 600.0
|
||||
3 | | | | | paintChild RenderParagraph at Point(6.0, 10.0)
|
||||
|
@ -13,14 +13,22 @@ PAINT FOR FRAME #2 ----------------------------------------------
|
||||
2 | | | drawRect(Rect.fromLTRB(0.0, 0.0, 800.0, 600.0), Paint(color:Color(0x7f000000)))
|
||||
2 | | paintChild RenderPositionedBox at Point(0.0, 0.0)
|
||||
2 | | | TestDisplayList() constructor: 800.0 x 600.0
|
||||
2 | | | paintChild RenderConstrainedBox at Point(260.0, 276.0)
|
||||
2 | | | paintChild RenderPadding at Point(220.0, 212.5)
|
||||
2 | | | | TestDisplayList() constructor: 800.0 x 600.0
|
||||
2 | | | | drawRRect(Instance of 'RRect', Paint(color:Color(0xffffffff), drawLooper:true))
|
||||
2 | | | | paintChild RenderParagraph at Point(0.0, 0.0)
|
||||
2 | | | | | TestDisplayList() constructor: 800.0 x 600.0
|
||||
2 | | | | paintChild RenderParagraph at Point(0.0, 16.0)
|
||||
2 | | | | | TestDisplayList() constructor: 800.0 x 600.0
|
||||
2 | | | | paintChild RenderParagraph at Point(0.0, 32.0)
|
||||
2 | | | | paintChild RenderConstrainedBox at Point(40.0, 24.0)
|
||||
2 | | | | | TestDisplayList() constructor: 800.0 x 600.0
|
||||
2 | | | | | drawRRect(Instance of 'RRect', Paint(color:Color(0xffffffff), drawLooper:true))
|
||||
2 | | | | | paintChild RenderPadding at Point(0.0, 0.0)
|
||||
2 | | | | | | TestDisplayList() constructor: 800.0 x 600.0
|
||||
2 | | | | | | paintChild RenderParagraph at Point(24.0, 24.0)
|
||||
2 | | | | | | | TestDisplayList() constructor: 800.0 x 600.0
|
||||
2 | | | | | paintChild RenderPadding at Point(0.0, 48.0)
|
||||
2 | | | | | | TestDisplayList() constructor: 800.0 x 600.0
|
||||
2 | | | | | | paintChild RenderParagraph at Point(24.0, 20.0)
|
||||
2 | | | | | | | TestDisplayList() constructor: 800.0 x 600.0
|
||||
2 | | | | | paintChild RenderFlex at Point(0.0, 111.0)
|
||||
2 | | | | | | TestDisplayList() constructor: 800.0 x 600.0
|
||||
2 | | | | | | paintChild RenderParagraph at Point(151.0, 0.0)
|
||||
2 | | | | | | | TestDisplayList() constructor: 800.0 x 600.0
|
||||
------------------------------------------------------------------------
|
||||
PAINTED 2 FRAMES
|
||||
|
@ -14,7 +14,7 @@ main() async {
|
||||
return new Dialog(
|
||||
title: new Text("I am a title"),
|
||||
content: new Text("I am some content"),
|
||||
actions: new Text("I am some actions")
|
||||
actions: [new Text("I am some actions")]
|
||||
);
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user