# Gambas Form File 2.0

{ Form Form
  MoveScaled(0,0,91,54)
  Text = ("Text Editor")
  Icon = Picture["icon:/16/edit"]
  Arrangement = Arrange.Vertical
  Spacing = 5
  Padding = 5
  { HBox1 HBox
    MoveScaled(1,0,90,3)
    { btnLock ToolButton
      MoveScaled(0,0,3,3)
      ToolTip = ("Read-only")
      Text = ("")
      Picture = Picture["icon:/16/lock"]
      Toggle = True
    }
    { Separator5 Separator
      MoveScaled(3,0,1,3)
    }
    { btnBold ToolButton
      MoveScaled(4,0,3,3)
      ToolTip = ("Bold")
      Text = ("")
      Picture = Picture["icon:/16/text-bold"]
      Toggle = True
    }
    { btnItalic ToolButton
      MoveScaled(7,0,3,3)
      ToolTip = ("Italic")
      Text = ("")
      Picture = Picture["icon:/16/text-italic"]
      Toggle = True
    }
    { btnUnderline ToolButton
      MoveScaled(10,0,3,3)
      ToolTip = ("Underline")
      Text = ("")
      Picture = Picture["icon:/16/text-underline"]
      Toggle = True
    }
    { btnStrikeOut ToolButton
      MoveScaled(13,0,3,3)
      ToolTip = ("StrikeOut")
      Text = ("")
      Picture = Picture["icon:/16/text-strike"]
      Toggle = True
    }
    { Separator1 Separator
      MoveScaled(16,0,1,3)
    }
    { HBox3 HBox
      MoveScaled(19,0,13,3)
      AutoResize = True
      { btnAlignLeft ToolButton
        MoveScaled(0,0,3,3)
        ToolTip = ("Align Left")
        Text = ("")
        Picture = Picture["icon:/16/text-left"]
        Radio = True
        Toggle = True
      }
      { btnAlignCenter ToolButton
        MoveScaled(3,0,3,3)
        ToolTip = ("Align Center")
        Text = ("")
        Picture = Picture["icon:/16/text-center"]
        Radio = True
        Toggle = True
      }
      { btnAlignRight ToolButton
        MoveScaled(6,0,3,3)
        ToolTip = ("Align Right")
        Text = ("")
        Picture = Picture["icon:/16/text-right"]
        Radio = True
        Toggle = True
      }
      { btnAlignJustify ToolButton
        MoveScaled(9,0,3,3)
        ToolTip = ("Align Right")
        Text = ("")
        Picture = Picture["icon:/16/text-fill"]
        Radio = True
        Toggle = True
      }
    }
    { Separator2 Separator
      MoveScaled(35,0,2,3)
    }
    { ComboBox1 ComboBox
      MoveScaled(37,0,26,3)
      ToolTip = ("Set font face")
      Text = ("ComboBox1")
      ReadOnly = True
    }
    { Panel2 Panel
      MoveScaled(63,0,1,4)
    }
    { SpinBox1 SpinBox
      MoveScaled(64,0,7,3)
      ToolTip = ("Set font size")
    }
    { Separator3 Separator
      MoveScaled(72,0,1,3)
    }
    { ColorButton1 ColorButton
      MoveScaled(74,0,3,3)
      ToolTip = ("Set font color")
    }
    { Separator4 Separator
      MoveScaled(79,0,1,3)
    }
    { Panel1 Panel
      MoveScaled(80,0,2,3)
      Expand = True
    }
    { ToolButton1 ToolButton
      MoveScaled(82,0,3,3)
      ToolTip = ("Show html source code")
      Text = ("")
      Picture = Picture["icon:/16/html"]
    }
    { btnabout ToolButton
      MoveScaled(87,0,3,3)
      ToolTip = ("About this example...")
      Text = ("")
      Picture = Picture["icon:/16/info"]
    }
  }
  { TextEdit1 TextEdit
    MoveScaled(2,8,80,42)
    Expand = True
  }
}
