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 に答える