This demo is quite simple: It has one large button, the width of which is decreased when clicked, and a small one which has an increasing width.
这个例子非常简单:它有一个大按钮,每次点击时宽度逐渐缩小,还有一个小按钮每次点击时宽度逐渐增加。
One button can adjust the width; one, the height; and one, the background colour.
一个按钮用来调整宽度,一个用来调整高度;还有一个用来调整背景颜色。
Ed pushes a button, activating a motor that causes one side of the floor to slide outward, doubling the vehicle’s width.
爱德按个按钮,启动一个装置把地板往外延伸到有两个车身那么宽。
When we shrink the browser, the watermark textbox and search button stay the same size because their Grid container columns are a fixed width.
当我们缩小浏览器尺寸时,带水印的文本框和搜索按钮会保持同样的尺寸,因为其grid容器列的宽度是固定的。
The search box and button are 190 pixels wide, which sets the width for a logo.
搜索框和按钮的宽度是190像素,这会设置logo的宽度。
Release the left mouse button when the column is the appropriate width (see Figure 14).
当这个列达到了适合的宽度时,释放鼠标左键(参见图14)。
First we will create the horizontal one, so just add the width of the circle in the horizontal field and click on the copy button.
首先,我们将创建一个水平,因此只需添加宽度的圈子,在横向领域,并点击复制按钮。
It is recommended that you not define a width on this at all, since it will be as wide as the text that fills the button, no matter what browser-defined font size the user picks.
建议你不要定义这个的宽度,因为这个会与填充按钮的文本宽度相同,不管用户选择的浏览器定义的字体大小是多少。
How do I make a button move as the label next to it changes width?
如何让一个按钮移动下它改变宽度的标签吗?
Subtract the width of the overflow button if it is displayed.
减去溢出按钮的宽度,如果它显示出来。
If one button has a maximum width, the second will still continue to grow and take all of the remaining space.
如果一个按钮有一个最大宽度,第二个将会一直扩展直到用光所有的空间为止。
The first two buttons will be sized at a suitable default width and the third button will be larger because it has a longer label.
前面两个按钮将一个合适尺寸作为默认宽度,第三个按钮将会比较大因为它有一个较长的标签。
The width of the bags could be adjusted by electrical motor, press the control-button could adjust the width of clips, easily operate, and save time.
如图6所示,包装袋的宽度可以通过电动马达,按下控制按钮可以调整夹子的宽度,容易操作,并且节省时间来调整。
The first button will be displayed with a width of 100 pixels (px means pixels).
第一个按钮将显示成宽度为100像素的(px 的意思是像素)。
The first button will be displayed with a width of 100 pixels (px means pixels).
第一个按钮将显示成宽度为100像素的(px 的意思是像素)。
应用推荐