Lines Matching refs:width
184 …sub>start</sub> + D<sub>end</sub>的比值。镜像语言下,D<sub>start</sub>为组件到右锚点的距离。下图中D<sub>width</sub>表示组件宽度。
194 | horizontal | number | 否 | 水平方向上的bias值。<br/>当子组件的width属性有正确值并且有2个水平方向的锚点时生效。<br/>默认值: …
259 Text('align').fontSize(9).fontColor(0xCCCCCC).width('90%')
263 }.width('90%').height(50).margin({ top: 5 }).backgroundColor(0xFFE4C4)
267 }.width('90%').height(50).margin({ top: 5 }).backgroundColor(0xFFE4C4)
271 Text('direction').fontSize(9).fontColor(0xCCCCCC).width('90%')
273 Text('1').height(50).width('25%').fontSize(16).backgroundColor(0xF5DEB3)
274 Text('2').height(50).width('25%').fontSize(16).backgroundColor(0xD2B48C)
275 Text('3').height(50).width('25%').fontSize(16).backgroundColor(0xF5DEB3)
276 Text('4').height(50).width('25%').fontSize(16).backgroundColor(0xD2B48C)
278 .width('90%')
282 … Text('1').height(50).width('25%').fontSize(16).backgroundColor(0xF5DEB3).textAlign(TextAlign.End)
283 … Text('2').height(50).width('25%').fontSize(16).backgroundColor(0xD2B48C).textAlign(TextAlign.End)
284 … Text('3').height(50).width('25%').fontSize(16).backgroundColor(0xF5DEB3).textAlign(TextAlign.End)
285 … Text('4').height(50).width('25%').fontSize(16).backgroundColor(0xD2B48C).textAlign(TextAlign.End)
287 .width('90%')
291 .width('100%').margin({ top: 5 })
310 Text('position').fontSize(12).fontColor(0xCCCCCC).width('90%')
312 …Text('1').size({ width: '30%', height: '50' }).backgroundColor(0xdeb887).border({ width: 1 }).font…
315 .size({ width: '60%', height: '30' })
317 .border({ width: 1 })
321 …Text('3').size({ width: '45%', height: '50' }).backgroundColor(0xdeb887).border({ width: 1 }).font…
324 .size({ width: '50%', height: '50' })
326 .border({ width: 1 })
329 }.width('90%').height(100).border({ width: 1, style: BorderStyle.Dashed })
333 Text('markAnchor').fontSize(12).fontColor(0xCCCCCC).width('90%')
336 .size({ width: '100', height: '100' })
341 .size({ width: 25, height: 25 })
347 .size({ width: 25, height: 25 })
353 .size({ width: 25, height: 25 })
356 }.margin({ top: 25 }).border({ width: 1, style: BorderStyle.Dashed })
359 Text('offset').fontSize(12).fontColor(0xCCCCCC).width('90%')
361 …Text('1').size({ width: '15%', height: '50' }).backgroundColor(0xdeb887).border({ width: 1 }).font…
364 .size({ width: 120, height: '50' })
366 .border({ width: 1 })
370 …Text('3').size({ width: '15%', height: '50' }).backgroundColor(0xdeb887).border({ width: 1 }).font…
373 .size({ width: 100, height: '50' })
375 .border({ width: 1 })
378 }.width('90%').height(100).border({ width: 1, style: BorderStyle.Dashed })
380 .width('100%').margin({ top: 25 })
398 Text('position use Edges').fontSize(12).fontColor(0xCCCCCC).width('90%')
400 …Text('bottom:0, right:0').size({ width: '30%', height: '50' }).backgroundColor(0xdeb887).border({ …
402 …Text('top:0, left:0').size({ width: '30%', height: '50' }).backgroundColor(0xdeb887).border({ widt…
404 …Text('top:10%, left:50%').size({ width: '50%', height: '30' }).backgroundColor(0xbbb2cb).border({ …
406 …Text('bottom:0, left:30').size({ width: '50%', height: '30' }).backgroundColor(0xbbb2cb).border({ …
408 }.width('90%').height(100).border({ width: 1, style: BorderStyle.Dashed })
411 Text('offset use Edges').fontSize(12).fontColor(0xCCCCCC).width('90%')
413 …Text('1').size({ width: '25%', height: 50 }).backgroundColor(0xdeb887).border({ width: 1 }).fontSi…
415 …Text('2 top:30, left:0').size({ width: '25%', height: 50 }).backgroundColor(0xbbb2cb).border({ wid…
417 …Text('3').size({ width: '25%', height: 50 }).backgroundColor(0xdeb887).border({ width: 1 }).fontSi…
419 …Text('4 bottom:10, right:30').size({ width: '25%', height: 50 }).backgroundColor(0xbbb2cb).border(…
421 }.width('90%').height(150).border({ width: 1, style: BorderStyle.Dashed })
422 }.width('100%').margin({ top: 25 })
450 .width("30%")
458 .width("30%")
466 .width("30%")
474 .width("30%")
482 .width("30%")
490 .width("30%")
501 .width('100%')
507 .width(20)
511 }.width(20).backgroundColor('#ededed')