0

我们在 * 和标题付款方式之间有空格。

我正在使用以下代码

new sap.ui.commons.form.FormElement({
    label: "Payment Method",
    fields: [
        new sap.ui.commons.ComboBox("PaymentMethod", { 
            items : [
                new sap.ui.core.ListItem("PaymentMethod1", { text: "Wire" }),
                new sap.ui.core.ListItem("PaymentMethod2", { text: "ACH" })
            ],
            required:true,
        })
    ],
    layoutData: new sap.ui.commons.layout.ResponsiveFlowLayoutData({
        linebreak: true, 
        margin: true
    })
})

提前致谢。

4

1 回答 1

0

将 CSS 更改为:

.sapUiGridLabel > .sapUiLbl.sapUiLblReq:before {
  color: #006CA7;
  content: "*";
  font-size: 20px;
  font-weight: bold;
  padding-right: 0px;
  vertical-align: middle;
}
于 2013-08-23T11:41:03.327 回答