为什么我不能在GWT中移动这个dialogBox?

时间:2015-03-05 22:47:36

标签: gwt dialog

以下是我的代码的一部分,我不知道为什么它不能被移动。有人可以帮帮我吗?

谢谢!

<div class="sidePanel" style="margin:8px 0">
                        <div class="header">Problem List</div>
                        <sidebar:SidebarProblemListWidget ui:field="problemListWidget" debugId="problemListWidget"/>
                       <g:DialogBox autoHideEnabled="false" modal="true">
                        <g:HTMLPanel>
                                <div class="{style.pl}">
                                    <g:Button ui:field="btnOne" addStyleNames="{style.round-button}" visible="false">1</g:Button>
                                </div>

                                <div class="{style.brtn}">
                                    <g:Button ui:field="btnTwo" addStyleNames="{style.round-button}" visible="false" >2</g:Button>
                                </div>

                                <div class="{style.brtn}">
                                    <g:Button ui:field="integrityActivator" addStyleNames="{style.round-button}">OK</g:Button>

                                </div>
                                <div class="{style.brtn}">
                                    <g:Button ui:field="btnThree" addStyleNames="{style.round-button}" visible="false">3</g:Button>
                                </div>

                                <div class="{style.btn}">
                                    <g:Button ui:field="btnFour" addStyleNames="{style.round-button}" visible="false">4</g:Button>

                                </div>

                        </g:HTMLPanel>
                       </g:DialogBox>

                    </div>

1 个答案:

答案 0 :(得分:0)

DialogBox可以通过其标题拖动。您没有在此代码中指定标题。