|
地板
发表于 2020-1-27 17:34:21
|
只看该作者
IP:福建
- "scrolling_panel": {
- "type": "panel",
- // Size and offset of the area within this control that contains the visible
- // scrolling content area and scroll box/track
- "$scrolling_pane_size|default": [ "100%", "100%" ],
- "$scrolling_pane_offset|default": [ 0, 0 ],
- // Sizes and offsets of the background behind the scrolling content, the
- // viewport containing the scrolling content, the scroll track, and the area
- // in which the scroll box is drawn.
- "$background_size|default": [ "100%", "100%" ],
- "$background_offset|default": [ 0, 0 ],
- "$scroll_view_port_size|default": [ "100%", "100%" ],
- "$scroll_view_port_offset|default": [ 0, 0 ],
- "$scroll_bar_left_padding_size|default": [ 2, 0 ],
- "$scroll_bar_right_padding_size|default": [ 2, 0 ],
- "$view_port_size|default": [ "fill", "100%" ],
- "$scroll_bar_contained|default": false,
- "$scroll_size|default": [ 4, "100%" ],
- // The touch version of the scroll track and bar are narrower by default,
- // but these overrides can themselves be overridden.
- "$background_size_touch|default": [ "100%", "100%" ],
- "$background_offset_touch|default": [ 0, 0 ],
- "$scroll_view_port_size_touch|default": [ "100%", "100%" ],
- "$scroll_view_port_offset_touch|default": [ 0, 0 ],
- "$scroll_bar_left_padding_size_touch|default": [ 0, 0 ],
- "$scroll_bar_right_padding_size_touch|default": [ 0, 0 ],
- "$view_port_size_touch|default": [ "100%", "100%" ],
- "$scroll_bar_contained_touch|default": true,
- "$scroll_size_touch|default": [ 4, "100%" ],
- // The images used for the background, scroll track, and scroll box (for
- // mouse and for touch) can be overridden by specifying
- // $scroll_background_image_control, $scroll_track_image_control,
- // $scroll_box_mouse_image_control, and $scroll_box_touch_image_control.
- // The content you want inside the scrolling viewport must be specified
- // by defining $scrolling_content.
- "$scroll_box_visible|default": true,
- "$scroll_box_visible_touch|default": false,
- "$use_touch_mode|default": false,
- "$show_background|default": true
- }
复制代码
确认一下这些property都有检查过了吗 |
|