Documentation

Trace:

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
jvx:client:gui:layoutmanager [2018/02/01 12:29]
admin
jvx:client:gui:layoutmanager [2018/02/01 12:47]
admin
Line 25: Line 25:
 The following examples illustrate the use of layout managers. The following examples illustrate the use of layout managers.
  
-== Simple example ==+=== Simple example ​===
  
 A form containing 2 columns (default setting): A form containing 2 columns (default setting):
Line 55: Line 55:
 </​file>​ </​file>​
  
-The following call is sufficient to create 4 columns:+The following call:
  
 <file java> <file java>
 layout.setNewlineCount(4);​ layout.setNewlineCount(4);​
 </​file> ​ </​file> ​
 +
 +is sufficient to create 4 columns:
  
 {{:​jvx:​client:​gui:​form_4cols.png?​nolink|}} ​ {{:​jvx:​client:​gui:​form_4cols.png?​nolink|}} ​
  
-== Complex example ==+=== Complex example ​===
  
 A somewhat more complex GUI is shown below: A somewhat more complex GUI is shown below:
Line 109: Line 111:
 </​file>​ </​file>​
  
-== Error dialog ==+=== Error dialog ​===
  
 As a final example we want to show the framework´s error message, this time using a direct anchor: As a final example we want to show the framework´s error message, this time using a direct anchor:
Line 143: Line 145:
                                               getLeftAnchor(),​ -5)));                                               getLeftAnchor(),​ -5)));
 </​file>​ </​file>​
 +\\ 
 +**<fs 20px>​Hint</​fs>​**
 +
 +There'​s a demo application which allows to inspect the anchors of the FormLayout. The source code is [[https://​github.com/​sibvisions/​jvx.formlayout-visualization|hosted on github]].
 +
 +{{https://​github.com/​sibvisions/​jvx.formlayout-visualization/​raw/​master/​screenshots/​formlayout-visualization.png?​nolink}}
This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information