设计器快捷调整间距工具栏Icon添加
This commit is contained in:
parent
8fde76011f
commit
585ee8fc5f
@ -751,6 +751,13 @@
|
||||
<div class="ico ico_back"></div>
|
||||
</div>
|
||||
<div class="toolbar_devider"></div>
|
||||
<div id="bar_verticalSpace" class="toolbar_button" onclick="adjustVerticalSpace()" awsui-qtip='调整垂直间距'>
|
||||
<div class="ico verticalSpace"></div>
|
||||
</div>
|
||||
<div id="bar_horizontalSpace" class="toolbar_button" onclick="adjustHorizontalSpace()" awsui-qtip='调整水平间距'>
|
||||
<div class="ico horizontalSpace"></div>
|
||||
</div>
|
||||
<div class="toolbar_devider"></div>
|
||||
<div id="bar_lock" awsui-qtip='锁定 (Ctrl+L)' class="toolbar_button">
|
||||
<div class="ico ico_lock"></div>
|
||||
</div>
|
||||
|
||||
@ -112,6 +112,15 @@ function sideBtnToggle() {
|
||||
$("#side_btn_slide").slideToggle(500);
|
||||
}
|
||||
|
||||
// 调整垂直间距
|
||||
function adjustVerticalSpace() {
|
||||
Designer.selectVertical()
|
||||
}
|
||||
|
||||
// 调整水平间距
|
||||
function adjustHorizontalSpace() {
|
||||
Designer.selectHorizontal()
|
||||
}
|
||||
|
||||
/**
|
||||
* 评分控件鼠标移动时
|
||||
|
||||
@ -153,6 +153,12 @@ html{
|
||||
.ico.resize{
|
||||
background-position: -20px -637px;
|
||||
}
|
||||
.ico.verticalSpace {
|
||||
background-position: -20px -657px;
|
||||
}
|
||||
.ico.horizontalSpace {
|
||||
background-position: 0 -657px;
|
||||
}
|
||||
.ico.brush{
|
||||
background-position: -20px -20px;
|
||||
}
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 16 KiB |
Loading…
Reference in New Issue
Block a user