为什么我不能在GWT中移动此对话框?

为什么我不能在GWT中移动此对话框?,gwt,dialog,Gwt,Dialog,下面是我的部分代码,我不知道为什么它不能被移动。有人能帮我吗 谢谢大家! <div class="sidePanel" style="margin:8px 0"> <div class="header">Problem List</div> <sidebar:SidebarProblemListWidget ui:field="problemListWidge

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

谢谢大家!

<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>

对话框可以通过其标题进行拖动。此代码中没有指定标题。

谢谢您的回复。我还有一个问题,我可以在这个ui文件中指定一个标题吗?或者我必须给这个对话框一个ui字段并在那里指定?测试1这是不正确的。。。我仍然无法移动它,我想我可以通过添加一个ui字段来修复它!非常感谢Andrei还有一个问题,我可以拖动到其他地方来移动对话框吗?我不想通过标题来拖动它文档中有一个在UIBinder中设置标题的示例: