阅读以下代码,下列选[1]项描述正确的是 Row()( Text('1').height(50).width('25%').fontSize(16).backgroundColor(0xF5DEB3).textAlign(TextAlign.End) Text('2').height(50).width('25%').fontSize(16).backgroundColor(0xD2B48C).textAlign(TextAlign.End) Text('3').height(50).width('25%').fontSize(16).backgroundColor(0xF5DEB3).textAlign(TextAlign.End) Text('4').height(50).width('25%').fontSize(16).backgroundColor(0xD2B48C).textAlign(TextAlign.End) ).width('90%').direction(Direction.Rtl)

阅读以下代码,下列选[1]项描述正确的是

Row(){
Text('1').height(50).width('25%').fontSize(16).backgroundColor(0xF5DEB3).textAlign(TextAlign.End)
Text('2').height(50).width('25%').fontSize(16).backgroundColor(0xD2B48C).textAlign(TextAlign.End)
Text('3').height(50).width('25%').fontSize(16).backgroundColor(0xF5DEB3).textAlign(TextAlign.End)
Text('4').height(50).width('25%').fontSize(16).backgroundColor(0xD2B48C).textAlign(TextAlign.End)
}.width('90%').direction(Direction.Rtl)

  • A. Text内数字从左往右依次为1, 2, 3, 4,数字在Text中的对齐方式为水平对齐首部
  • B. Text内数字从左往右依次为4, 3, 2, 1,数字在Text中的对齐方式为水平对齐尾部
  • C. Text内数字从左往右依次为1, 2, 3, 4,数字在Text中的对齐方式为水平对齐尾部
  • D. Text内数字从左往右依次为4, 3, 2, 1,数字在Text中的对齐方式为水平对齐首部

参考答案与解析:

相关试题

height(5θ). width('25%'). fontSize(16). background Color(exF5DEB3) Text('2'). height

height(5θ). width(25%). fontSize(16). background Color(exF5DEB3) Text(2). height

  • 查看答案
  • 文件 a.txt 的内容如下: [1, 2, 3, 4] 以下代码的执行结果是()。 f=open('a.txt', 'r') print(f.read()

    文件 a.txt 的内容如下: [1, 2, 3, 4] 以下代码的执行结果是()。 f=open(a.txt, r) print(f.read()

  • 查看答案
  • '(1)=a,'(1)=a,'(1)=a.

    (1)=a,(1)=a,(1)=a.,,.

  • 查看答案
  • 阅读下列代码,print输出什么?import re pattern = pile(r'd+') # 查找数字result1 = pattern.findall('runoob

    阅读下列代码,print输出什么?import re pattern = pile(rd+) # 查找数字result1 = pattern.findall(r

  • 查看答案
  • (4) ''=1+y''2 ,

    (4) =1+y2 ,

  • 查看答案
  • ls = [ 3 , [ ' c ' , ' d ' , ' e ' ] , ( 1 , 2 ) , ' hello world'] 以

    ls = [ 3 , [ c , d , e ] , ( 1 , 2 ) , hello world] 以下结果正确的是 A ls [ 1 ] +

  • 查看答案
  • 以下对df = pd.DataFrame ( [ 1 , 2 , 3 ],[ 2 , 3 , 4 ] ,columns = [ ' a ' , ' b ' , '

    以下对df = pd.DataFrame ( [ 1 , 2 , 3 ],[ 2 , 3 , 4 ] ,columns = [ a , b , c

  • 查看答案
  • 在 Python 中,列表 list1 = ['a', 'b', 123, 'd', 'e'],执行 list1.index('

    在 Python 中,列表 list1 = [a, b, 123, d, e],执行 list1.index(b, 2) 的结果是?A. 1B. 2C. 3D.

  • 查看答案
  • float(&39;inf&39;)<float(&39;inf&39;)£«1

    [单选题]float(&39;inf&39;)<float(&39;inf&39;)+1执行后的结果A.TrueB.False

  • 查看答案
  • DataFrame([[1, 2, 3], [2, 3, 4]], columns = ['a', 'b', 'c'], index = ['A

    DataFrame([[1, 2, 3], [2, 3, 4]], columns = [a, b, c], index = [A, B])19 对于以下数据集

  • 查看答案