It is currently 01 Jan 2010, 07:52

Welcome
Welcome to the SDB Engine Forum!
You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, <a href="/profile.php?mode=register">join our community today</a>!


Post a new topicPost a reply Page 1 of 1   [ 3 posts ]
Author Message
 Post subject: width and height of elements
PostPosted: 22 Aug 2008, 08:32 

Joined: 27 May 2008, 19:38
Posts: 67
Location: Dresden / Germany
There is one thing, that I don't really like with coding the elements. :-) For some/all elements, e.g. #IFOCLASS_OPTIONS, I enter the position with its x and y coordinates (which is absolutely ok and right) but the params for width and height, followed by the position, are also "x" and "y". :-/ This is always confusing, as I often have to look in the doc which is pos and which is size. Would it be possible to change "x" and "y" for the size to "width" and "height"? Would be great (and more straight forward and consistent IMHO).

Thanks for reading!

EDIT: One suggestion for the documentation for the #IFOCLASS_OPTIONS element: You should/could also mention, that if you don't want to have a default option selected you have to write
Code:
DefaultOptions = {}

Just my 2 cents ... :-)

Greetings

_________________
CD32 + SX1; AmiKit (WinUAE) + OS3.9


Top
 Profile  
 
 Post subject:
PostPosted: 22 Aug 2008, 08:52 
Site Admin
User avatar

Joined: 22 Mar 2007, 22:50
Posts: 112
Thank you Clyde,
I'm taking note of this and I will change in a future release all
Size = { x ..., y ... }

with

Size = { w ..., h ... }

I will update the documentation too, thank you again ;)
btw if I remeber well it should work even if you don't specify the DefaultOptions at all... I will check tonight this thing, now I'm at work :?


Top
 Profile  
 
 Post subject:
PostPosted: 22 Aug 2008, 09:00 

Joined: 27 May 2008, 19:38
Posts: 67
Location: Dresden / Germany
Allanon wrote:
I'm taking note of this and I will change in a future release all
Size = { x ..., y ... }

with

Size = { w ..., h ... }


Great! Thanks a lot! I hope it will not be too much work ... :-/

Allanon wrote:
I will update the documentation too, thank you again ;)
btw if I remeber well it should work even if you don't specify the DefaultOptions at all... I will check tonight this thing, now I'm at work :?


Well, I tested it yesterday and now again (as I wasn't sure anymore), and it doesn't work, neither if I leave the DefaultOptions nor I write nil. It always selects the first options button initially. But maybe I do sth wrong!? So I wait until you approve it or not. :-)

Thanks again!

_________________
CD32 + SX1; AmiKit (WinUAE) + OS3.9


Top
 Profile  
 
Display posts from previous:  Sort by  
Post a new topicPost a reply Page 1 of 1   [ 3 posts ]


Who is online

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