Skip to content

Commit 4b7b596

Browse files
committed
MLAB-6489: recreated screenshots with margin; added an example how the GUI would look without margin
1 parent ee6a147 commit 4b7b596

16 files changed

Lines changed: 11 additions & 7 deletions

File tree

mevislab.github.io/content/tutorials/basicmechanisms/macromodules/guidesign.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,6 @@ In the *Parameters* section, you can define *fields* of your macro module. These
8181
### Module Panel Layout
8282
To create your own user interface, we need to create a {{< docuLinks "/Resources/Documentation/Publish/SDK/MDLReference/index.html#mdl_Window" "Window" >}}. A window is one of the layout elements that exist in MDL. These layout elements are called {{< docuLinks "/Resources/Documentation/Publish/SDK/MDLReference/index.html#Controls" "controls" >}}. The curled brackets define the window section, in which you can define properties of the window and insert further controls like a {{< docuLinks "/Resources/Documentation/Publish/SDK/MDLReference/index.html#mdl_Box" "Box" >}}.
8383

84-
{{<alert class="info" caption="Info">}}
85-
We use *Category* as the top-level layouter in the *Window* to give the inner content a small margin. Otherwise, the controls touch the border of the window and look unappealing.
86-
{{</alert>}}
87-
8884
Initially, we call the window *MyWindowTitle*, which can be used to reference this window.
8985

9086
Double-clicking {{< mousebutton "left" >}} on your module now opens your first self-developed user interface.
@@ -118,6 +114,12 @@ Window MyWindowName {
118114

119115
![Module panel](images/tutorials/basicmechanics/ModulePanel.png "Module panel")
120116

117+
{{<alert class="info" caption="Info">}}
118+
We use *Category* as the top-level layouter in the *Window* to give the inner content a small margin. Otherwise, the controls touch the border of the window and look unappealing.
119+
{{</alert>}}
120+
121+
![Module panel without margin](images/tutorials/basicmechanics/ModulePanel_noMargin.png "Module panel without margin")
122+
121123
You can define different properties of your control. For a window, you can, for example, define a title, or whether the
122124
window should be shown in full screen (*fullscreen = Yes*).
123125

mevislab.github.io/content/tutorials/summary/summary3.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,15 +70,17 @@ Window {
7070
```
7171
{{</highlight>}}
7272

73-
{{<alert class="info" caption="Info">}}
74-
We use *Category* as the top-level layouter in the *Window* to give the inner content a small margin. Otherwise, the controls touch the border of the window and look unappealing.{{</alert>}}
75-
7673
You can preview your initial layout in MeVisLab by double-clicking your module {{< mousebutton "left" >}}.
7774

7875
![Initial window layout](images/tutorials/summary/Example3_1.png "Initial window layout")
7976

8077
You can see the four vertical aligned parts as defined in the *.script* file. Now, we are going to add the content of the boxes.
8178

79+
{{<alert class="info" caption="Info">}}
80+
We use *Category* as the top-level layouter in the *Window* to give the inner content a small margin. Otherwise, the controls touch the border of the window and look unappealing.{{</alert>}}
81+
82+
![Initial window layout without margin](images/tutorials/summary/Example3_1_noMargin.png "Initial window layout without margin")
83+
8284
{{<alert class="info" caption="Additional Info">}}
8385
An overview over the existing layout elements in MeVisLab Definition Language (MDL) can be found {{< docuLinks "/Resources/Documentation/Publish/SDK/MDLReference/index.html#N11695" "here" >}}
8486
{{</alert>}}
-1.33 KB
Loading
-860 Bytes
Loading
3.65 KB
Loading
-999 Bytes
Loading
-2.72 KB
Loading
7.42 KB
Loading
-1.71 KB
Loading
9.93 KB
Loading

0 commit comments

Comments
 (0)