-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi,
I created a window without border and without title. I want to move the window but without title panel it is not possible.
Does anybody knows a way to do it?
Thank you!
Hi,
If the window has content, you can drag it.
For example,
<zk>
<window id="win" draggable="true">
abc
</window>
<window droppable="true" hflex="1" vflex="1">
<attribute name="onDrop">
event.getDragged().setParent(box1);
</attribute>
<hbox id="box1">
You can drag abc here ->
</hbox>
</window>
<window droppable="true" hflex="1" vflex="1">
<attribute name="onDrop">
event.getDragged().setParent(box2);
</attribute>
<hbox id="box2">
You can drag abc here ->
</hbox>
</window>
</zk>
Regards,
Ben
Neus,
At a minimum, try putting a border around the window. You could also put a "blank" title. Either combination will let you drag windows around.
To test this, update the first <window> tag (containing the text abc) in Ben's example above to look like this:
<window id="win" draggable="true" border="normal">
For a blank title, try this:
<window id="win" draggable="true" border="normal" title=" ">
Regards,
Todd
I am using the blank title to move the window but I was waiting if some of you could tell me a solution to move it without title because it is a very small window and title panel is big.
However it is not posible I leave it with the blank title.
Thank you!
Asked: 2012-04-05 08:33:14 +0800
Seen: 157 times
Last updated: Apr 13 '12