[Plugin]UITemplates Forum Home > Construct 2 Development > Plugins for Construct 2 |
Post Reply
|
| Author | |
Post Options
Quote Reply
Topic: [Plugin]UITemplatesPosted: 02 Mar 2012 at 2:19pm |
|
|
After a discussion with Kyatric on IRC, here's a new plugin : UITemplates.
![]() Do you miss the various "Layout" objects from Java/SWING, allowing you to have a "bag" in which you throw some widgets, and the "Layout" object arranges everything onscreen for you (you can have GridLayout, a FlowLayout, and a lot of other elastic Layouts). This plugin is there to do the same. I renamed the whole thing "Templates", to avoid confusions with C2's layouts. For the beginning, there's only GridTemplate. You can specify a number of rows/columns, the inner padding in pixels from the border, and at widgets. Currently, it only works with objects added at runtime (I still need to understand how to add objects create at editime without breaking everythin). It doesn't work also with HTML objects (Button, TextBox, HTML_Div, etc..), because those are using CSS to style themselves. The demo : http://dl.dropbox.com/u/1412774/UITemplate/index.html The plugin : http://dl.dropbox.com/u/1412774/UITemplate/pode_UITemplates.0.1.zip As always, Critics&Comments are welcomed ! Edit : I forgot to say it, but : thanks a lot to (French)Yann for is ]sliders example code ! ![]() Edited by Pode - 02 Mar 2012 at 2:20pm |
|
![]() |
|
Post Options
Quote Reply
Posted: 05 Mar 2012 at 12:53pm |
|
|
FANTASTIC...ty Pode ^^
|
|
![]() |
|
Post Options
Quote Reply
Posted: 05 Mar 2012 at 6:12pm |
|
|
@edisone : wouhou, at least one answer !
I'm planning to add that possibility at edittime too... |
|
![]() |
|
Post Options
Quote Reply
Posted: 05 Mar 2012 at 7:32pm |
|
|
Keep up your good work!
Maybe some people that have never worked with a Layoutmanager didn't realise for what or how to use your plugin... Much endurance for the edittime (-v8-) .. .. waiting for the gridbag.. Edited by Joe7 - 05 Mar 2012 at 7:34pm |
|
![]() |
|
Post Options
Quote Reply
Posted: 06 Mar 2012 at 3:29am |
|
|
I love you.
|
|
![]() |
|
Post Options
Quote Reply
Posted: 07 Aug 2012 at 5:01pm |
|
|
Thank you !!!
|
|
![]() |
|
Post Options
Quote Reply
Posted: 07 Aug 2012 at 6:46pm |
|
|
Thanks, Do you have the .capx of the example? ;]
|
|
![]() |
|
Post Options
Quote Reply
Posted: 07 Aug 2012 at 9:39pm |
|
|
@sheepy : I'm on holidays, so I can't post it this week, but when I'm home I'll post it here.
|
|
![]() |
|
Post Options
Quote Reply
Posted: 03 Apr 2013 at 12:29am |
|
|
I installed this plugin a while back to run a capx example from someone, then I forgot about it.
Recently I spent days wrestling with GUI management for my game, with a lot of "in-game winodws" set up. I ended up with the "each window gets its own layer" strategy, but after all that is done, I found UITemplates in my object selector. /headdesk I'll have to remember using this plugin for my next game. Right now my current game needs to get done and it's too late to redo the GUI with this plugin. |
|
|
Personal edition user
|
|
![]() |
|
Post Reply
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |