Post new topic Reply to topic  [ 1 post ] 
Author Message
Member
Team: Traders
Rank:
Main: Aredes
Level: 2178

Joined: Tue Apr 27, 2010 5:15 pm
Posts: 218
Post zOMG .XML bugs!? button grid wrapping
In my attempt to break the XML as much as possible to improve customizability and all that good stuff, as well as thanks to Turbinia for making me get into an epic e-peen battle with him (lol) I noticed a rather goofy bug!

Please note I'll be using simplified code and perdy images to emphasize the point.

Code:
<element type="customWindow">
   <attributes>
      ...
   </attributes>
      
   <element type="actionbuttongrid">
      <attributes>
         <int name="ElementCount" value="20" />
         ...
      </attributes>

      <element type="actionbutton">
         <attributes>
            ...
         </attributes>
      </element>
   </element>
</element>

Which looks like this in game:
Attachment:
buttonWrap_1.jpg


When resized it works great at wrapping the buttons to the next line:
Attachment:
buttonWrap_2.jpg


The BUG is: This wrapping only works when the buttons are lined up with the left edge of your monitor! If you move the element away from the edge, it will no longer wrap!

I have included an .XML sample you can play with to try it out for yourself!
http://dl.dropbox.com/u/30755480/TROLOLOL.xml


You do not have the required permissions to view the files attached to this post.


Tue Sep 20, 2011 7:04 pm
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 


Who is online

Users browsing this forum: No registered users and 12 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

Jump to:  
cron
Powered by phpBB © phpBB Group.