0

有没有办法删除黑莓 10 中每个文本字段中的多余空格?我不知道它是否是 bb10 的默认设置,但文本字段下方总是至少有 10dp 的额外空间

Container {
                leftPadding: 70
                rightPadding: 70
                topPadding: 60

                Container {
                    verticalAlignment: VerticalAlignment.Center
                    horizontalAlignment: HorizontalAlignment.Center
                    layout: StackLayout {}

                    TextField {
                        id: tfFirstName
                        input.submitKey: SubmitKey.Next
                        hintText: qsTr("first name")
                        inputMode: TextFieldInputMode.Text
                    }

                    TextField {
                        id: tfLastName
                        input.submitKey: SubmitKey.Next
                        inputMode: TextFieldInputMode.Text
                        hintText: qsTr("last name")
                    }
4

0 回答 0