eugeneloza / castle-editor-tutorial

Moved to https://gitlab.com/EugeneLoza/castle-editor-tutorial
MIT License
2 stars 0 forks source link

Properties to add to basic/important (from tutorial) #13

Open and3md opened 3 years ago

and3md commented 3 years ago

Most used:

There are also some Custom* properties form TCastleButton but I think they should stay only on "All".

michaliskambi commented 3 years ago

I did the change we discussed with @and3md : the "Basic" tab is no longer something disjoint with "Layout". This makes it possible to add to "Basic" more useful properties, like FullSize, regardless of whether they are also on "Layout".

Internally:

I also removed the "Other" tab, as it seems it doesn't really have much purpose -- after all you will find stuff from it also in "All" tab.

I have completely lost objectivity here :) Please help me if it can be improved more by moving some property here/there. I prefer to "err on the side of moving stuff to Basic" now.

But I know that I'd like to keep "Basic" tab useful. It should be useful for new people that open editor, add component X, and are interested in "what are basic properties I can adjust here". E.g. most people want to adjust TCastleLabel.Caption, or TCastleRectangleControl.Color or TCastleImageControl.URL as these components don't make much sense if you don't use these properties. That is why I invented this tab, as the "All" properties view is probably too overwhelming to actually learn the engine (it has stuff important mixed with unimportant, stuff from ancestor class mixed with stuff from final class).

I'm leaving it open so that @eugeneloza can hopefully simplify some tutorial text now :)