Nifty resize columns from a list / sort buttons

Hi,



so i’m in the process of making a server browser, after some googling i found this. In the fifth post waltobc6 shows his browser. To this i have some (more general) questions regarding nifty:


  1. Is it possible (and if so, how) to change the length of those fields (Server Name, Game Type, Players Inside, etc) by dragging with the mouse (how it works in many games and applications) so that for example you can see a longer server name?


  2. What is the best method to achieve ‘buttons’ who implement the behavior in 1 and can sort the list after it’s columns type (the sorting itself will be no problem for me, but i’m not sure about the clickable AND resizable thing)



    Thank you for your time!

Yeah, it’s possible, but it’s not so easy to do. You’ll have to take a look at the default control deffinition source code for reference. Good luck ^^.