fineui是帆软报表和BI产品线所使用的前端框架。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2591 lines
62 KiB

7 years ago
<!DOCTYPE HTML>
<html lang="" >
<head>
<meta charset="UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>vertical_adapt · GitBook</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="description" content="">
<meta name="generator" content="GitBook 3.2.3">
<link rel="stylesheet" href="../../gitbook/style.css">
<link rel="stylesheet" href="../../gitbook/gitbook-plugin-splitter/splitter.css">
<link rel="stylesheet" href="../../gitbook/gitbook-plugin-highlight/website.css">
<link rel="stylesheet" href="../../gitbook/gitbook-plugin-search/search.css">
<link rel="stylesheet" href="../../gitbook/gitbook-plugin-fontsettings/website.css">
<link rel="stylesheet" href="../../gitbook/gitbook-plugin-theme-api/theme-api.css">
<meta name="HandheldFriendly" content="true"/>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="../../gitbook/images/apple-touch-icon-precomposed-152.png">
<link rel="shortcut icon" href="../../gitbook/images/favicon.ico" type="image/x-icon">
<link rel="next" href="horizontal_adapt.html" />
<link rel="prev" href="center_adapt.html" />
</head>
<body>
<div class="book">
<div class="book-summary">
<div id="book-search-input" role="search">
<input type="text" placeholder="Type to search" />
</div>
<nav role="navigation">
<ul class="summary">
<li class="header">总览</li>
<li class="chapter " data-level="1.1" data-path="../../">
<a href="../../">
<b>1.1.</b>
文档规范
</a>
</li>
<li class="header">核心控件</li>
<li class="chapter " data-level="2.1" >
<span>
<b>2.1.</b>
布局
</span>
<ul class="articles">
<li class="chapter " data-level="2.1.1" data-path="center_adapt.html">
<a href="center_adapt.html">
<b>2.1.1.</b>
center_adapt
</a>
</li>
<li class="chapter active" data-level="2.1.2" data-path="vertical_adapt.html">
<a href="vertical_adapt.html">
<b>2.1.2.</b>
vertical_adapt
</a>
</li>
<li class="chapter " data-level="2.1.3" data-path="horizontal_adapt.html">
<a href="horizontal_adapt.html">
<b>2.1.3.</b>
horizontal_adapt
</a>
</li>
<li class="chapter " data-level="2.1.4" data-path="horizontal_auto.html">
<a href="horizontal_auto.html">
<b>2.1.4.</b>
horizontal_auto
</a>
</li>
<li class="chapter " data-level="2.1.5" data-path="horizontal_float.html">
<a href="horizontal_float.html">
<b>2.1.5.</b>
horizontal_float
</a>
</li>
<li class="chapter " data-level="2.1.6" data-path="left_right_vertical_adapt.html">
<a href="left_right_vertical_adapt.html">
<b>2.1.6.</b>
left_right_vertical_adapt
</a>
</li>
<li class="chapter " data-level="2.1.7" data-path="center.html">
<a href="center.html">
<b>2.1.7.</b>
center
</a>
</li>
<li class="chapter " data-level="2.1.8" data-path="float_center.html">
<a href="float_center.html">
<b>2.1.8.</b>
float_center
</a>
</li>
<li class="chapter " data-level="2.1.9" data-path="vertical.html">
<a href="vertical.html">
<b>2.1.9.</b>
vertical
</a>
</li>
<li class="chapter " data-level="2.1.10" data-path="horizontal.html">
<a href="horizontal.html">
<b>2.1.10.</b>
horizontal
</a>
</li>
<li class="chapter " data-level="2.1.11" data-path="border.html">
<a href="border.html">
<b>2.1.11.</b>
border
</a>
</li>
<li class="chapter " data-level="2.1.12" data-path="flow.html">
<a href="flow.html">
<b>2.1.12.</b>
flow
</a>
</li>
<li class="chapter " data-level="2.1.13" data-path="inline.html">
<a href="inline.html">
<b>2.1.13.</b>
inline
</a>
</li>
<li class="chapter " data-level="2.1.14" data-path="htape.html">
<a href="htape.html">
<b>2.1.14.</b>
htape
</a>
</li>
<li class="chapter " data-level="2.1.15" data-path="vtape.html">
<a href="vtape.html">
<b>2.1.15.</b>
vtape
</a>
</li>
<li class="chapter " data-level="2.1.16" data-path="grid.html">
<a href="grid.html">
<b>2.1.16.</b>
grid
</a>
</li>
<li class="chapter " data-level="2.1.17" data-path="table.html">
<a href="table.html">
<b>2.1.17.</b>
table
</a>
</li>
<li class="chapter " data-level="2.1.18" data-path="td.html">
<a href="td.html">
<b>2.1.18.</b>
td
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="2.2" >
<span>
<b>2.2.</b>
抽象控件
</span>
<ul class="articles">
<li class="chapter " data-level="2.2.1" data-path="../abstract/button_group.html">
<a href="../abstract/button_group.html">
<b>2.2.1.</b>
button_group
</a>
</li>
<li class="chapter " data-level="2.2.2" data-path="../abstract/button_tree.html">
<a href="../abstract/button_tree.html">
<b>2.2.2.</b>
button_tree
</a>
</li>
<li class="chapter " data-level="2.2.3" data-path="../abstract/virtual_group.html">
<a href="../abstract/virtual_group.html">
<b>2.2.3.</b>
virtual_group
</a>
</li>
<li class="chapter " data-level="2.2.4" data-path="../abstract/custom_tree.html">
<a href="../abstract/custom_tree.html">
<b>2.2.4.</b>
custom_tree
</a>
</li>
<li class="chapter " data-level="2.2.5" data-path="../abstract/grid_view.html">
<a href="../abstract/grid_view.html">
<b>2.2.5.</b>
grid_view
</a>
</li>
<li class="chapter " data-level="2.2.6" data-path="../abstract/collection_view.html">
<a href="../abstract/collection_view.html">
<b>2.2.6.</b>
collection_view
</a>
</li>
<li class="chapter " data-level="2.2.7" data-path="../abstract/virtual_list.html">
<a href="../abstract/virtual_list.html">
<b>2.2.7.</b>
virtual_list
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="2.3" >
<span>
<b>2.3.</b>
组合控件
</span>
<ul class="articles">
<li class="chapter " data-level="2.3.1" data-path="../combination/bi.combo.html">
<a href="../combination/bi.combo.html">
<b>2.3.1.</b>
combo
</a>
</li>
<li class="chapter " data-level="2.3.2" data-path="../combination/bi.expander.html">
<a href="../combination/bi.expander.html">
<b>2.3.2.</b>
expander
</a>
</li>
<li class="chapter " data-level="2.3.3" data-path="../combination/group_combo.html">
<a href="../combination/group_combo.html">
<b>2.3.3.</b>
group_combo
</a>
</li>
<li class="chapter " data-level="2.3.4" data-path="../combination/loader.html">
<a href="../combination/loader.html">
<b>2.3.4.</b>
loader
</a>
</li>
<li class="chapter " data-level="2.3.5" data-path="../combination/navigation.html">
<a href="../combination/navigation.html">
<b>2.3.5.</b>
navigation
</a>
</li>
<li class="chapter " data-level="2.3.6" data-path="../combination/searcher.html">
<a href="../combination/searcher.html">
<b>2.3.6.</b>
searcher
</a>
</li>
<li class="chapter " data-level="2.3.7" data-path="../combination/switcher.html">
<a href="../combination/switcher.html">
<b>2.3.7.</b>
switcher
</a>
</li>
<li class="chapter " data-level="2.3.8" data-path="../combination/tab.html">
<a href="../combination/tab.html">
<b>2.3.8.</b>
tab
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="2.4" >
<span>
<b>2.4.</b>
弹出层
</span>
<ul class="articles">
<li class="chapter " data-level="2.4.1" data-path="../layer/layer_float_box.html">
<a href="../layer/layer_float_box.html">
<b>2.4.1.</b>
float_box
</a>
</li>
<li class="chapter " data-level="2.4.2" data-path="../layer/layer_popup.html">
<a href="../layer/layer_popup.html">
<b>2.4.2.</b>
popup
</a>
</li>
<li class="chapter " data-level="2.4.3" data-path="../layer/layer_searcher.html">
<a href="../layer/layer_searcher.html">
<b>2.4.3.</b>
searcher
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="2.5" data-path="../widget.html">
<a href="../widget.html">
<b>2.5.</b>
widget
</a>
</li>
<li class="chapter " data-level="2.6" data-path="../single.html">
<a href="../single.html">
<b>2.6.</b>
single
</a>
</li>
<li class="chapter " data-level="2.7" data-path="../basic_button.html">
<a href="../basic_button.html">
<b>2.7.</b>
basic_button
</a>
</li>
<li class="chapter " data-level="2.8" data-path="../node_button.html">
<a href="../node_button.html">
<b>2.8.</b>
node_button
</a>
</li>
<li class="chapter " data-level="2.9" data-path="../pane.html">
<a href="../pane.html">
<b>2.9.</b>
pane
</a>
</li>
<li class="header">基础控件</li>
<li class="chapter " data-level="3.1" data-path="../../base/label.html">
<a href="../../base/label.html">
<b>3.1.</b>
label
</a>
</li>
<li class="chapter " data-level="3.2" data-path="../../base/bubble.html">
<a href="../../base/bubble.html">
<b>3.2.</b>
bubble
</a>
</li>
<li class="chapter " data-level="3.3" data-path="../../base/toast.html">
<a href="../../base/toast.html">
<b>3.3.</b>
toast
</a>
</li>
<li class="chapter " data-level="3.4" data-path="../../base/message.html">
<a href="../../base/message.html">
<b>3.4.</b>
message
</a>
</li>
<li class="chapter " data-level="3.5" >
<span>
<b>3.5.</b>
按钮
</span>
<ul class="articles">
<li class="chapter " data-level="3.5.1" data-path="../../base/button/button.html">
<a href="../../base/button/button.html">
<b>3.5.1.</b>
button
</a>
</li>
<li class="chapter " data-level="3.5.2" data-path="../../base/button/text_button.html">
<a href="../../base/button/text_button.html">
<b>3.5.2.</b>
text_button
</a>
</li>
<li class="chapter " data-level="3.5.3" data-path="../../base/button/icon_button.html">
<a href="../../base/button/icon_button.html">
<b>3.5.3.</b>
icon_button
</a>
</li>
<li class="chapter " data-level="3.5.4" data-path="../../base/button/image_button.html">
<a href="../../base/button/image_button.html">
<b>3.5.4.</b>
image_button
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="3.6" >
<span>
<b>3.6.</b>
编辑框
</span>
<ul class="articles">
<li class="chapter " data-level="3.6.1" data-path="../../base/editor/editor.html">
<a href="../../base/editor/editor.html">
<b>3.6.1.</b>
editor
</a>
</li>
<li class="chapter " data-level="3.6.2" data-path="../../base/editor/code_editor.html">
<a href="../../base/editor/code_editor.html">
<b>3.6.2.</b>
code_editor
</a>
</li>
<li class="chapter " data-level="3.6.3" data-path="../../base/editor/multifile_editor.html">
<a href="../../base/editor/multifile_editor.html">
<b>3.6.3.</b>
multifile_editor
</a>
</li>
<li class="chapter " data-level="3.6.4" data-path="../../base/editor/textarea_editor.html">
<a href="../../base/editor/textarea_editor.html">
<b>3.6.4.</b>
textarea_editor
</a>
</li>
<li class="chapter " data-level="3.6.5" data-path="../../base/editor/formula_editor.html">
<a href="../../base/editor/formula_editor.html">
<b>3.6.5.</b>
formula_editor
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="3.7" >
<span>
<b>3.7.</b>
</span>
<ul class="articles">
<li class="chapter " data-level="3.7.1" data-path="../../base/tree/tree_view.html">
<a href="../../base/tree/tree_view.html">
<b>3.7.1.</b>
tree_view
</a>
</li>
<li class="chapter " data-level="3.7.2" data-path="../../base/tree/async_tree.html">
<a href="../../base/tree/async_tree.html">
<b>3.7.2.</b>
async_tree
</a>
</li>
<li class="chapter " data-level="3.7.3" data-path="../../base/tree/part_tree.html">
<a href="../../base/tree/part_tree.html">
<b>3.7.3.</b>
part_tree
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="3.8" >
<span>
<b>3.8.</b>
表格
</span>
<ul class="articles">
<li class="chapter " data-level="3.8.1" data-path="../../base/table/table_view.html">
<a href="../../base/table/table_view.html">
<b>3.8.1.</b>
table_view
</a>
</li>
<li class="chapter " data-level="3.8.2" data-path="../../base/table/grid_table.html">
<a href="../../base/table/grid_table.html">
<b>3.8.2.</b>
grid_table
</a>
</li>
<li class="chapter " data-level="3.8.3" data-path="../../base/table/collection_table.html">
<a href="../../base/table/collection_table.html">
<b>3.8.3.</b>
collection_table
</a>
</li>
<li class="chapter " data-level="3.8.4" data-path="../../base/table/resizable_table.html">
<a href="../../base/table/resizable_table.html">
<b>3.8.4.</b>
resizable_table
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="3.9" data-path="../../base/pager.html">
<a href="../../base/pager.html">
<b>3.9.</b>
pager
</a>
</li>
<li class="chapter " data-level="3.10" data-path="../../base/svg.html">
<a href="../../base/svg.html">
<b>3.10.</b>
svg
</a>
</li>
<li class="chapter " data-level="3.11" data-path="../../base/canvas.html">
<a href="../../base/canvas.html">
<b>3.11.</b>
canvas
</a>
</li>
<li class="header">实例控件</li>
<li class="chapter " data-level="4.1" >
<span>
<b>4.1.</b>
按钮
</span>
<ul class="articles">
<li class="chapter " data-level="4.1.1" data-path="../../case/button/multi_select_item.html">
<a href="../../case/button/multi_select_item.html">
<b>4.1.1.</b>
multi_select_item
</a>
</li>
<li class="chapter " data-level="4.1.2" data-path="../../case/button/single_select_item.html">
<a href="../../case/button/single_select_item.html">
<b>4.1.2.</b>
single_select_item
</a>
</li>
<li class="chapter " data-level="4.1.3" data-path="../../case/button/single_select_radio_item.html">
<a href="../../case/button/single_select_radio_item.html">
<b>4.1.3.</b>
single_select_radio_item
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="4.2" >
<span>
<b>4.2.</b>
编辑框
</span>
<ul class="articles">
<li class="chapter " data-level="4.2.1" data-path="../../case/editor/shelter_editor.html">
<a href="../../case/editor/shelter_editor.html">
<b>4.2.1.</b>
shelter_editor
</a>
</li>
<li class="chapter " data-level="4.2.2" data-path="../../case/editor/sign_editor.html">
<a href="../../case/editor/sign_editor.html">
<b>4.2.2.</b>
sign_editor
</a>
</li>
<li class="chapter " data-level="4.2.3" data-path="../../case/editor/sign_initial_editor.html">
<a href="../../case/editor/sign_initial_editor.html">
<b>4.2.3.</b>
sign_initial_editor
</a>
</li>
<li class="chapter " data-level="4.2.4" data-path="../../case/editor/state_editor.html">
<a href="../../case/editor/state_editor.html">
<b>4.2.4.</b>
state_editor
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="4.3" >
<span>
<b>4.3.</b>
弹出层
</span>
<ul class="articles">
<li class="chapter " data-level="4.3.1" data-path="../../case/layer/multi_popup_layer.html">
<a href="../../case/layer/multi_popup_layer.html">
<b>4.3.1.</b>
multi_popup_layer
</a>
</li>
<li class="chapter " data-level="4.3.2" data-path="../../case/layer/layer_panel.html">
<a href="../../case/layer/layer_panel.html">
<b>4.3.2.</b>
layer_panel
</a>
</li>
<li class="chapter " data-level="4.3.3" data-path="../../case/layer/pane_list.html">
<a href="../../case/layer/pane_list.html">
<b>4.3.3.</b>
pane_list
</a>
</li>
<li class="chapter " data-level="4.3.4" data-path="../../case/layer/panel.html">
<a href="../../case/layer/panel.html">
<b>4.3.4.</b>
panel
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="4.4" >
<span>
<b>4.4.</b>
列表
</span>
<ul class="articles">
<li class="chapter " data-level="4.4.1" data-path="../../case/list/list.select.html">
<a href="../../case/list/list.select.html">
<b>4.4.1.</b>
select_list
</a>
</li>
<li class="chapter " data-level="4.4.2" data-path="../../case/loader/lazy_loader.html">
<a href="../../case/loader/lazy_loader.html">
<b>4.4.2.</b>
lazy_loader
</a>
</li>
<li class="chapter " data-level="4.4.3" data-path="../../case/loader/list_loader.html">
<a href="../../case/loader/list_loader.html">
<b>4.4.3.</b>
list_loader
</a>
</li>
<li class="chapter " data-level="4.4.4" data-path="../../case/loader/sort_list.html">
<a href="../../case/loader/sort_list.html">
<b>4.4.4.</b>
sort_list
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="4.5" >
<span>
<b>4.5.</b>
触发器
</span>
<ul class="articles">
<li class="chapter " data-level="4.5.1" data-path="../../case/trigger/editor_trigger.html">
<a href="../../case/trigger/editor_trigger.html">
<b>4.5.1.</b>
editor_trigger
</a>
</li>
<li class="chapter " data-level="4.5.2" data-path="../../case/trigger/icon_trigger.html">
<a href="../../case/trigger/icon_trigger.html">
<b>4.5.2.</b>
icon_trigger
</a>
</li>
<li class="chapter " data-level="4.5.3" data-path="../../case/trigger/text_trigger.html">
<a href="../../case/trigger/text_trigger.html">
<b>4.5.3.</b>
text_trigger
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="4.6" >
<span>
<b>4.6.</b>
下拉框
</span>
<ul class="articles">
<li class="chapter " data-level="4.6.1" data-path="../../case/combo/bubble_combo.html">
<a href="../../case/combo/bubble_combo.html">
<b>4.6.1.</b>
bubble_combo
</a>
</li>
<li class="chapter " data-level="4.6.2" data-path="../../case/combo/formula_combo.html">
<a href="../../case/combo/formula_combo.html">
<b>4.6.2.</b>
formula_combo
</a>
</li>
<li class="chapter " data-level="4.6.3" data-path="../../case/combo/icon_combo.html">
<a href="../../case/combo/icon_combo.html">
<b>4.6.3.</b>
icon_combo
</a>
</li>
<li class="chapter " data-level="4.6.4" data-path="../../case/combo/static_combo.html">
<a href="../../case/combo/static_combo.html">
<b>4.6.4.</b>
static_combo
</a>
</li>
<li class="chapter " data-level="4.6.5" data-path="../../case/combo/static_combo.html">
<a href="../../case/combo/static_combo.html">
<b>4.6.5.</b>
text_value_combo
</a>
</li>
<li class="chapter " data-level="4.6.6" data-path="../../case/combo/text_value_downlist_combo.html">
<a href="../../case/combo/text_value_downlist_combo.html">
<b>4.6.6.</b>
text_value_downlist_combo
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="4.7" >
<span>
<b>4.7.</b>
</span>
<ul class="articles">
<li class="chapter " data-level="4.7.1" data-path="../../case/tree/branch_tree.html">
<a href="../../case/tree/branch_tree.html">
<b>4.7.1.</b>
branch_tree
</a>
</li>
<li class="chapter " data-level="4.7.2" data-path="../../case/tree/handstand_branch_editor.html">
<a href="../../case/tree/handstand_branch_editor.html">
<b>4.7.2.</b>
handstand_branch_editor
</a>
</li>
<li class="chapter " data-level="4.7.3" data-path="../../case/tree/display_tree.html">
<a href="../../case/tree/display_tree.html">
<b>4.7.3.</b>
display_tree
</a>
</li>
<li class="chapter " data-level="4.7.4" data-path="../../case/tree/simple_tree.html">
<a href="../../case/tree/simple_tree.html">
<b>4.7.4.</b>
simple_tree
</a>
</li>
<li class="chapter " data-level="4.7.5" data-path="../../case/tree/level_tree.html">
<a href="../../case/tree/level_tree.html">
<b>4.7.5.</b>
level_tree
</a>
</li>
<li class="chapter " data-level="4.7.6" data-path="../../case/tree/branch_relation.html">
<a href="../../case/tree/branch_relation.html">
<b>4.7.6.</b>
branch_relation
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="4.8" >
<span>
<b>4.8.</b>
表格
</span>
<ul class="articles">
<li class="chapter " data-level="4.8.1" data-path="../../case/table/adaptive_table.html">
<a href="../../case/table/adaptive_table.html">
<b>4.8.1.</b>
adaptive_table
</a>
</li>
<li class="chapter " data-level="4.8.2" data-path="../../case/table/tree_table.html">
<a href="../../case/table/tree_table.html">
<b>4.8.2.</b>
tree_table
</a>
</li>
<li class="chapter " data-level="4.8.3" data-path="../../case/table/layer_tree_table.html">
<a href="../../case/table/layer_tree_table.html">
<b>4.8.3.</b>
layer_tree_table
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="4.9" >
<span>
<b>4.9.</b>
Pager
</span>
<ul class="articles">
<li class="chapter " data-level="4.9.1" data-path="../../case/pager/all_count_pager.html">
<a href="../../case/pager/all_count_pager.html">
<b>4.9.1.</b>
all_count_pager
</a>
</li>
<li class="chapter " data-level="4.9.2" data-path="../../case/pager/direction_pager.html">
<a href="../../case/pager/direction_pager.html">
<b>4.9.2.</b>
direction_pager
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="4.10" data-path="../../case/calendar.html">
<a href="../../case/calendar.html">
<b>4.10.</b>
calendar
</a>
</li>
<li class="chapter " data-level="4.11" data-path="../../case/shelter_editor.html">
<a href="../../case/shelter_editor.html">
<b>4.11.</b>
clipboard
</a>
</li>
<li class="chapter " data-level="4.12" data-path="../../case/complex_canvas.html">
<a href="../../case/complex_canvas.html">
<b>4.12.</b>
complex_canvas
</a>
</li>
<li class="chapter " data-level="4.13" data-path="../../case/color_chooser.html">
<a href="../../case/color_chooser.html">
<b>4.13.</b>
color_chooser
</a>
</li>
<li class="chapter " data-level="4.14" data-path="../../case/segment.html">
<a href="../../case/segment.html">
<b>4.14.</b>
segment
</a>
</li>
<li class="header">详细控件</li>
<li class="chapter " data-level="5.1" >
<span>
<b>5.1.</b>
各种小组件
</span>
<ul class="articles">
<li class="chapter " data-level="5.1.1" data-path="../../detailed/bi.button/general.html">
<a href="../../detailed/bi.button/general.html">
<b>5.1.1.</b>
通用按钮
</a>
</li>
<li class="chapter " data-level="5.1.2" data-path="../../detailed/bi.button/tooltip.html">
<a href="../../detailed/bi.button/tooltip.html">
<b>5.1.2.</b>
提示性信息
</a>
</li>
<li class="chapter " data-level="5.1.3" data-path="../../detailed/bi.button/items.html">
<a href="../../detailed/bi.button/items.html">
<b>5.1.3.</b>
各种items
</a>
</li>
<li class="chapter " data-level="5.1.4" data-path="../../detailed/bi.button/node.html">
<a href="../../detailed/bi.button/node.html">
<b>5.1.4.</b>
各种节点nodes
</a>
</li>
<li class="chapter " data-level="5.1.5" data-path="../../detailed/bi.button/segment.html">
<a href="../../detailed/bi.button/segment.html">
<b>5.1.5.</b>
各种segment
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="5.2" >
<span>
<b>5.2.</b>
树形结构
</span>
<ul class="articles">
<li class="chapter " data-level="5.2.1" data-path="../../detailed/tree/bi.multi_tree_combo.html">
<a href="../../detailed/tree/bi.multi_tree_combo.html">
<b>5.2.1.</b>
bi.multi_tree_combo
</a>
</li>
<li class="chapter " data-level="5.2.2" data-path="../../detailed/tree/bi.switch_tree.html">
<a href="../../detailed/tree/bi.switch_tree.html">
<b>5.2.2.</b>
bi.switch_tree
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="5.3" >
<span>
<b>5.3.</b>
表格
</span>
<ul class="articles">
<li class="chapter " data-level="5.3.1" data-path="../../detailed/table/bi.preview_table.html">
<a href="../../detailed/table/bi.preview_table.html">
<b>5.3.1.</b>
bi.preview_table
</a>
</li>
<li class="chapter " data-level="5.3.2" data-path="../../detailed/table/bi.responsive_table.html">
<a href="../../detailed/table/bi.responsive_table.html">
<b>5.3.2.</b>
bi.responsive_table
</a>
</li>
<li class="chapter " data-level="5.3.3" data-path="../../detailed/table/bi.excel_table.html">
<a href="../../detailed/table/bi.excel_table.html">
<b>5.3.3.</b>
bi.excel_table
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="5.4" >
<span>
<b>5.4.</b>
文本框控件
</span>
<ul class="articles">
<li class="chapter " data-level="5.4.1" data-path="../../detailed/text_input/bi.text_editor.html">
<a href="../../detailed/text_input/bi.text_editor.html">
<b>5.4.1.</b>
bi.text_editor
</a>
</li>
<li class="chapter " data-level="5.4.2" data-path="../../detailed/text_input/bi.search_editor.html">
<a href="../../detailed/text_input/bi.search_editor.html">
<b>5.4.2.</b>
bi.search_editor
</a>
</li>
<li class="chapter " data-level="5.4.3" data-path="../../detailed/text_input/bi.clear_editor.html">
<a href="../../detailed/text_input/bi.clear_editor.html">
<b>5.4.3.</b>
bi.clear_editor
</a>
</li>
</ul>
</li>
<li class="divider"></li>
<li>
<a href="https://www.gitbook.com" target="blank" class="gitbook-link">
Published with GitBook
</a>
</li>
</ul>
</nav>
</div>
<div class="book-body">
<div class="body-inner">
<div class="book-header" role="navigation">
<!-- Title -->
<h1>
<i class="fa fa-circle-o-notch fa-spin"></i>
<a href="../.." >vertical_adapt</a>
</h1>
</div>
<div class="page-wrapper" tabindex="-1" role="main">
<div class="page-inner">
<div id="book-search-results">
<div class="search-noresults">
<section class="normal markdown-section">
<h1 id="biverticaladapt">bi.vertical_adapt</h1>
<h4 id="&#x81EA;&#x9002;&#x5E94;&#x5782;&#x76F4;&#x5C45;&#x4E2D;&#x5E03;&#x5C40;">&#x81EA;&#x9002;&#x5E94;&#x5782;&#x76F4;&#x5C45;&#x4E2D;&#x5E03;&#x5C40;</h4>
<div class="api-method"><div class="api-method-definition"><p><a href="https://jsfiddle.net/fineui/7t1bsfy0/" target="_blank">source</a></p>
</div><div class="api-method-code"><div class="api-method-example"><pre><code class="lang-javascript">Demo = {};
Demo.VerticalAdaptLayout = BI.inherit(BI.Widget, {
props: {
baseCls: <span class="hljs-string">&quot;demo-vertical-adapt&quot;</span>
},
_createLayout: <span class="hljs-function"><span class="hljs-keyword">function</span> (<span class="hljs-params"></span>) </span>{
<span class="hljs-keyword">return</span> BI.createWidget({
type: <span class="hljs-string">&quot;bi.vertical_adapt&quot;</span>,
vgap: <span class="hljs-number">10</span>,
items: [{
type: <span class="hljs-string">&quot;bi.label&quot;</span>,
text: <span class="hljs-string">&quot;Vertical Adapt&#x4E0A;&#x4E0B;&#x81EA;&#x9002;&#x5E94;&quot;</span>,
cls: <span class="hljs-string">&quot;layout-bg1&quot;</span>,
width: <span class="hljs-number">300</span>,
height: <span class="hljs-number">30</span>
}, {
type: <span class="hljs-string">&quot;bi.label&quot;</span>,
text: <span class="hljs-string">&quot;Vertical Adapt&#x4E0A;&#x4E0B;&#x81EA;&#x9002;&#x5E94;&quot;</span>,
cls: <span class="hljs-string">&quot;layout-bg2&quot;</span>,
width: <span class="hljs-number">300</span>,
height: <span class="hljs-number">30</span>
}]
})
},
render: <span class="hljs-function"><span class="hljs-keyword">function</span> (<span class="hljs-params"></span>) </span>{
<span class="hljs-keyword">return</span> {
type: <span class="hljs-string">&quot;bi.grid&quot;</span>,
columns: <span class="hljs-number">2</span>,
rows: <span class="hljs-number">1</span>,
items: [{
column: <span class="hljs-number">0</span>,
row: <span class="hljs-number">0</span>,
el: <span class="hljs-keyword">this</span>._createLayout()
}]
}
}
});
BI.shortcut(<span class="hljs-string">&quot;demo.vertical_adapt&quot;</span>, Demo.VerticalAdaptLayout);
BI.createWidget({
type: <span class="hljs-string">&apos;demo.vertical_adapt&apos;</span>,
element: <span class="hljs-string">&quot;#wrapper&quot;</span>,
});
</code></pre>
</div></div></div>
<h2 id="api">API</h2>
<h5 id="&#x57FA;&#x7840;&#x5C5E;&#x6027;">&#x57FA;&#x7840;&#x5C5E;&#x6027;</h5>
<table>
<thead>
<tr>
<th style="text-align:left">&#x53C2;&#x6570;</th>
<th style="text-align:left">&#x8BF4;&#x660E;</th>
<th style="text-align:left">&#x7C7B;&#x578B;</th>
<th style="text-align:left">&#x53EF;&#x9009;&#x503C;</th>
<th style="text-align:left">&#x9ED8;&#x8BA4;&#x503C;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">hgap</td>
<td style="text-align:left">&#x6548;&#x679C;&#x76F8;&#x5F53;&#x4E8E;&#x5BB9;&#x5668;&#x5DE6;&#x53F3;padding&#x503C;</td>
<td style="text-align:left">number</td>
<td style="text-align:left"></td>
<td style="text-align:left">0</td>
</tr>
<tr>
<td style="text-align:left">vgap</td>
<td style="text-align:left">&#x6548;&#x679C;&#x76F8;&#x5F53;&#x4E8E;&#x5BB9;&#x5668;&#x4E0A;&#x4E0B;padding&#x503C;</td>
<td style="text-align:left">number</td>
<td style="text-align:left"></td>
<td style="text-align:left">0</td>
</tr>
<tr>
<td style="text-align:left">lgap</td>
<td style="text-align:left">&#x6548;&#x679C;&#x76F8;&#x5F53;&#x4E8E;&#x5BB9;&#x5668;left-padding&#x503C;</td>
<td style="text-align:left">number</td>
<td style="text-align:left"></td>
<td style="text-align:left">0</td>
</tr>
<tr>
<td style="text-align:left">rgap</td>
<td style="text-align:left">&#x6548;&#x679C;&#x76F8;&#x5F53;&#x4E8E;&#x5BB9;&#x5668;right-padding&#x503C;</td>
<td style="text-align:left">number</td>
<td style="text-align:left"></td>
<td style="text-align:left">0</td>
</tr>
<tr>
<td style="text-align:left">tgap</td>
<td style="text-align:left">&#x6548;&#x679C;&#x76F8;&#x5F53;&#x4E8E;&#x5BB9;&#x5668;top-padding&#x503C;</td>
<td style="text-align:left">number</td>
<td style="text-align:left"></td>
<td style="text-align:left">0</td>
</tr>
<tr>
<td style="text-align:left">bgap</td>
<td style="text-align:left">&#x6548;&#x679C;&#x76F8;&#x5F53;&#x4E8E;&#x5BB9;&#x5668;bottom-padding&#x503C;</td>
<td style="text-align:left">number</td>
<td style="text-align:left"></td>
<td style="text-align:left">0</td>
</tr>
<tr>
<td style="text-align:left">items</td>
<td style="text-align:left">&#x5B50;&#x63A7;&#x4EF6;&#x6570;&#x7EC4;</td>
<td style="text-align:left">array</td>
<td style="text-align:left"></td>
<td style="text-align:left"></td>
</tr>
<tr>
<td style="text-align:left">columnSize</td>
<td style="text-align:left">&#x6BCF;&#x5217;&#x5BBD;&#x5EA6;&#x6240;&#x7EC4;&#x6210;&#x7684;&#x6570;&#x7EC4;</td>
<td style="text-align:left">array</td>
<td style="text-align:left"></td>
<td style="text-align:left"></td>
</tr>
</tbody>
</table>
<hr>
</section>
</div>
<div class="search-results">
<div class="has-results">
<h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
<ul class="search-results-list"></ul>
</div>
<div class="no-results">
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"vertical_adapt","level":"2.1.2","depth":2,"next":{"title":"horizontal_adapt","level":"2.1.3","depth":2,"path":"core/layout/horizontal_adapt.md","ref":"core/layout/horizontal_adapt.md","articles":[]},"previous":{"title":"center_adapt","level":"2.1.1","depth":2,"path":"core/layout/center_adapt.md","ref":"core/layout/center_adapt.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["jsfiddle","splitter","theme-api"],"pluginsConfig":{"jsfiddle":{"type":"script","tabs":["result","js","html"],"height":"100","width":"500","fontColor":"00FF00"},"splitter":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"theme-api":{"languages":[],"split":true,"theme":"light"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":true}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"core/layout/vertical_adapt.md","mtime":"2017-08-29T12:18:13.000Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2017-08-29T12:33:24.422Z"},"basePath":"../..","book":{"language":""}});
});
</script>
</div>
<script src="../../gitbook/gitbook.js"></script>
<script src="../../gitbook/theme.js"></script>
<script src="../../gitbook/gitbook-plugin-jsfiddle/plugin.js"></script>
<script src="../../gitbook/gitbook-plugin-splitter/splitter.js"></script>
<script src="../../gitbook/gitbook-plugin-search/search-engine.js"></script>
<script src="../../gitbook/gitbook-plugin-search/search.js"></script>
<script src="../../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
<script src="../../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
<script src="../../gitbook/gitbook-plugin-sharing/buttons.js"></script>
<script src="../../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
<script src="../../gitbook/gitbook-plugin-theme-api/theme-api.js"></script>
</body>
</html>