2
나 혼란스러운 정의가 있습니다 ... 텍스트 앵커를 발견했습니다. 바셀린은 직사각형과 다릅니다 .. 왜죠? 기준선의 정의는 무엇입니까?QML의 앵커.베이스 라인
Item {
width: 400; height: 200
Rectangle {
y:20
id: rectangle
width: 80; height: 80
color: "red"
}
Text {
text: "Hello World!"
anchors.baseline: rectangle.baseline
anchors.left: rectangle.right
}
}
사각형의베이스 라인이 최고이고, 텍스트의 기준선이 바닥입니다 감사합니다 ...?
예! 도움을 주셔서 감사합니다 ... 그리고 또 다른 질문이 있습니다, 저를 도울 수 있습니까? –
http://stackoverflow.com/questions/9443053/some-exercise-about-qml 저를 도와 주시겠습니까? 고맙습니다.. –