# Gambas Form File 3.0

{ Form Form
  MoveScaled(0,0,58,42)
  Text = ("Resize image")
  Resizable = False
  Spacing = True
  Margin = True
  { Label1 Label
    MoveScaled(1,1,15,4)
    Text = ("Width")
  }
  { btnSync ToggleButton
    MoveScaled(32,1,2,9)
    Picture = Picture["img/32/linked.png"]
    Border = False
    Value = True
  }
  { Label2 Label
    MoveScaled(1,6,15,4)
    Text = ("Height")
  }
  { btnCancel Button
    MoveScaled(41,6,16,4)
    Text = ("Cancel")
    Cancel = True
  }
  { optResize RadioButton radResize
    Name = "optResize"
    MoveScaled(1,21,28,3)
    AutoResize = True
    Text = ("Resize image")
  }
  { optResizeCenter RadioButton radResize
    Name = "optResizeCenter"
    MoveScaled(1,29,28,3)
    AutoResize = True
    Text = ("Resize and center")
  }
  { optResizeCenterH RadioButton radResize
    Name = "optResizeCenterH"
    MoveScaled(1,33,28,3)
    AutoResize = True
    Text = ("Resize and center horizontally")
  }
  { optResizeCenterV RadioButton radResize
    Name = "optResizeCenterV"
    MoveScaled(1,37,28,3)
    AutoResize = True
    Text = ("Resize and center vertically")
  }
  { optStretch RadioButton radResize
    Name = "optStretch"
    MoveScaled(1,17,28,3)
    AutoResize = True
    Text = ("Stretch image")
    Value = True
  }
  { txtWidth SpinBox
    MoveScaled(16,1,11,4)
    MinValue = 1
    MaxValue = 65536
    Value = 1
  }
  { txtHeight SpinBox
    MoveScaled(16,6,11,4)
    MinValue = 1
    MaxValue = 65536
    Value = 1
  }
  { btnOK Button
    MoveScaled(41,1,16,4)
    Text = ("OK")
    Default = True
  }
  { optBorder RadioButton radResize
    Name = "optBorder"
    MoveScaled(1,25,28,3)
    AutoResize = True
    Text = ("Add a border")
  }
  { Label3 Label
    MoveScaled(1,11,14,4)
    Text = ("Ratio")
  }
  { txtRatio ComboBox
    MoveScaled(16,11,11,4)
    #Translate = False
    List = ["25", "33", "50", "66", "100", "150", "200", "300", "400"]
    Text = "100"
  }
  { Label4 Label
    MoveScaled(28,1,3,4)
    Text = ("px")
  }
  { Label5 Label
    MoveScaled(28,6,3,4)
    Text = ("px")
  }
  { Label6 Label
    MoveScaled(28,11,3,4)
    #Translate = False
    Text = "%"
  }
}
