此演示展示了RadDocking控件的如下三方面内容:
1、通过设置RadSplitContainer的Orientation属性来控制多分组面板的排列方向,分别有横向排列(Horizontal)和纵向排列(Vertical)两种。
2、通过在RadSplitContainer中放置多个RadPaneGroup来达到分组的目的,这点不同于一个分组(RadPaneGroup)中有多个面板(RadPane)的情况。
3、通过给RadPanGroup设置附加属性ProportionalStackPanel.Rel...
分类:
其他好文 时间:
2015-01-28 07:21:27
阅读次数:
185
效果图:
主布局文件my_order_new_list.xml:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:background="...
分类:
其他好文 时间:
2015-01-27 21:56:28
阅读次数:
140
ListView listView = ListView::create(); --创建列表
listView->setDirection(ui::ScrollView::Direction::VERTICAL);
--设置列表方向
listView->setBounceEnabled(true); --设置弹力
listView->setBackGroundImage("cocosu...
分类:
编程语言 时间:
2015-01-27 20:24:37
阅读次数:
204
如何清除图片下方出现几像素的空白间隙?方法1:img{display:block;}方法2:img{vertical-align:top;}除了top值,还可以设置为text-top | middle | bottom | text-bottom,甚至特定的和值都可以方法3:#test{font-s...
分类:
Web程序 时间:
2015-01-26 19:07:34
阅读次数:
219
一下是个人的一些总结。
为fragment创建XML
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
...
分类:
其他好文 时间:
2015-01-24 11:39:51
阅读次数:
181
多个控件组合为用户控件,实现多选1.CSS文件.MultDropList {display:inline-block;} .labelArea {vertical-align:super} .DropList {display:inline-block; height:20px;margin-top...
分类:
其他好文 时间:
2015-01-23 19:53:22
阅读次数:
164
今天学习Bootstrap时候,看到按钮的向下三角形源码:
.caret {
display: inline-block;
width: 0;
height: 0;
margin-left: 2px;
vertical-align: middle;
border-top: 4px solid;
border-right: 4px solid transparent...
分类:
Web程序 时间:
2015-01-23 13:24:48
阅读次数:
117
HTML vertical text (Safari, Firefox, Chrome, and Opera).vText { -moz-transform: rotate(-90deg) translate(0, 100%); -moz-transform-origin: 0% 100%;...
分类:
Web程序 时间:
2015-01-22 17:07:30
阅读次数:
300
【题目】
Given n non-negative integers a1, a2,
..., an, where each represents a point at coordinate (i, ai). n vertical
lines are drawn such that the two endpoints of line i is at (i, ai) and (i,...
分类:
其他好文 时间:
2015-01-21 16:37:56
阅读次数:
159
tab.xml代码如下:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical...
分类:
移动开发 时间:
2015-01-21 11:39:15
阅读次数:
150