Files
divkit/test_data/snapshot_test_data/div-input/without-text.json
T
grechka62 69a1196441 Remove select_all_on_focus from snapshot tests for input
Since autofocus only works on android, it makes no sense to check text selection on focus on all platforms.
2022-09-14 16:27:08 +03:00

67 lines
1.4 KiB
JSON

{
"card": {
"log_id": "input",
"variables": [
{
"name": "input_value",
"type": "string",
"value": ""
}
],
"states": [
{
"state_id": 0,
"div": {
"type": "input",
"width": {
"type": "match_parent"
},
"height": {
"type": "wrap_content"
},
"margins": {
"left": 16,
"top": 16,
"right": 16,
"bottom": 16
},
"paddings": {
"left": 16,
"top": 16,
"right": 16,
"bottom": 16
},
"alpha": 1.0,
"alignment_horizontal": "center",
"alignment_vertical": "center",
"background": [
{
"type": "solid",
"color": "#FFFFCC"
}
],
"border": {
"corner_radius": 8,
"has_shadow": 1,
"stroke": {
"color": "#0000FF"
}
},
"text_variable": "input_value",
"font_size": 20,
"font_weight": "medium",
"text_color": "#444444",
"hint_text": "initial_hint",
"hint_color": "#AAAAAA",
"highlight_color": "#AAAAFF",
"max_visible_lines": 2,
"line_height": 60,
"native_interface": {
"color": "#88FFFF"
}
}
}
]
}
}