0

The following image shows proper alignment for the mblDomButtonWhitePlus icon for the xe:toolBarButton on the left, but not so good on the right in the xe:djxmHeading.

enter image description here

Here is the source for the Page Heading control:

    <xe:djxmHeading id="djxmHeading1" label="appPage1">
            <xe:toolBarButton id="toolBarButton3" moveTo="appPage2">
                <xe:this.dojoAttributes>
                    <xp:dojoAttribute name="icon" value="mblDomButtonWhitePlus">
                    </xp:dojoAttribute>
                </xe:this.dojoAttributes>
            </xe:toolBarButton>
            <xp:this.facets>
                <xe:toolBarButton id="toolBarButton4" moveTo="appPage3"
                    xp:key="actionFacet">
                    <xe:this.dojoAttributes>
                        <xp:dojoAttribute name="icon" value="mblDomButtonWhitePlus">
                        </xp:dojoAttribute>
                    </xe:this.dojoAttributes>
                </xe:toolBarButton>
            </xp:this.facets>
        </xe:djxmHeading>

Any ideas on how to correct the icon alignment for the xe:toolBarButton in the actionFacet of the Page Heading?

4

1 回答 1

1

override .mblHeadingActionFacet div {top: 4px;}会将加号放在适当的位置...您可能需要根据 div 的定位方式(例如相对)更改顶部像素值。

于 2013-09-04T16:52:54.380 回答