Changes

Jump to navigation Jump to search
Line 159: Line 159:  
  <'''VerticalLayout''' '''anchor'''="top" '''padding'''="4,4,4,4" '''spacing'''="2" '''childForceExpandHeight'''="False" '''childControlHeight'''="False">
 
  <'''VerticalLayout''' '''anchor'''="top" '''padding'''="4,4,4,4" '''spacing'''="2" '''childForceExpandHeight'''="False" '''childControlHeight'''="False">
 
  <'''ContentFitter''' '''verticalFit'''="PreferredSize">
 
  <'''ContentFitter''' '''verticalFit'''="PreferredSize">
  <'''label''' id="lab" color="FF0000" height="24">Hello</'''label'''>
+
  <'''label''' '''id'''="lab" '''color'''="FF0000" '''height'''="24">Hello</'''label'''>
  <'''button''' onClick="ShowMessage(Hehe)" height="24">Click me</'''button'''>
+
  <'''button''' '''onClick'''="ShowMessage(Hehe)" '''height'''="24">Click me</'''button'''>
  <'''combo''' height="24">a,b,c</'''combo'''>
+
  <'''combo''' '''height'''="24">a,b,c</'''combo'''>
 
  </'''ContentFitter'''>
 
  </'''ContentFitter'''>
 
  </'''VerticalLayout'''>
 
  </'''VerticalLayout'''>
 
  </'''ScrollView'''>
 
  </'''ScrollView'''>
  </window>
+
  </'''window'''>
 
This will create a window with a scroll view containing a label, a button and a combobox automatically laid out vertically. Please note that attributes, e.g. '''position'''="4,4" are case sensitive!
 
This will create a window with a scroll view containing a label, a button and a combobox automatically laid out vertically. Please note that attributes, e.g. '''position'''="4,4" are case sensitive!
  

Navigation menu