How to use smart docking sd content: Difference between revisions

From EiffelStudio: an EiffelSoftware project
Jump to navigation Jump to search
Larryl (talk | contribs)
mNo edit summary
Larryl (talk | contribs)
No edit summary
Line 16: Line 16:


[[Image:How_to_use_smart_docking_sd_content_figure_3.png]]
[[Image:How_to_use_smart_docking_sd_content_figure_3.png]]
Now, we can image what will the results look like if we change second parameter of SD_CONTENT.set_relative to {SD_ENUMERATION}.right or {SD_ENUMERATION}.bottom. ;)


*set_top
*set_top

Revision as of 04:01, 10 April 2007

This page explain features in SD_CONTENT.

Set Position commands

Before we call these commands, we assume our widgets' layout look like figure 1.

  • set_relative

Remember what's the widgets' layout looks like in figure 1, now we call "content_1.set_relative (content_2, {SD_ENUMERATION}.left)", the result is showing as figure 2.

This time, assume our widgets layout looks like figure 1, we change the set_relative second parameter to {SD_ENUMERATION}.top. The result is showing as figure 3.

Now, we can image what will the results look like if we change second parameter of SD_CONTENT.set_relative to {SD_ENUMERATION}.right or {SD_ENUMERATION}.bottom. ;)

  • set_top
  • set_auto_hide
  • set_floating
  • set_tab_with
  • set_default_editor_position
  • set_split_proportion