Slick Forums

Discuss the Slick 2D Library
It is currently Fri May 24, 2013 6:44 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Widgets not moveable?
PostPosted: Wed Oct 05, 2011 12:24 am 
Offline
Game Developer
User avatar

Joined: Wed Feb 17, 2010 12:24 am
Posts: 594
Not sure what is causing this, but none of my windows ("resizableframe-title" and other widgets) are "moveable".

The button works, but I can't click on title to move:
http://i.imgur.com/NmNrf.png

It is greyed out. If I click button, the title bar becomes active, but if I click on it to move it it goes grey again.

I'm following this: http://wiki.l33tlabs.org/bin/view/TWL/I ... eBasedGame
And using zip from website: http://twl.l33tlabs.org/TWLSlick.zip
I'm including the simple.xml from lastest twlexamples

My theme for this window is this:

Code:
   <theme name="ThemeSelector" ref="resizableframe-title">
      <theme name="dialoglayout" ref="dialoglayout">
         <theme name="button" ref="button">
            <param name="alignment">
               <enum type="alignment">BOTTOM</enum>
            </param>
         <theme name="" ref="*" />
         </theme>
      <theme name="" ref="*" />
      </theme>
   <theme name="" ref="*" />
   </theme>


Any ideas on why I can't move/interact with it?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 05, 2011 5:55 am 
Offline
Slick Zombie

Joined: Fri Jan 29, 2010 7:02 pm
Posts: 1173
The only Widget which implements moving via drag & drop is ResizableFrame - so without knowing your code (but guessing based on your 2nd post) it seems you use DialogLayout instead of ResizableFrame.

_________________
TWL - The Themable Widget Library


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 06, 2011 4:03 am 
Offline
Game Developer
User avatar

Joined: Wed Feb 17, 2010 12:24 am
Posts: 594
MatthiasM wrote:
The only Widget which implements moving via drag & drop is ResizableFrame - so without knowing your code (but guessing based on your 2nd post) it seems you use DialogLayout instead of ResizableFrame.


This is a correct assumption. I changed to resiable-frame and works as expected now.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group