twang2218
Repos
79
Followers
338
Following
3

Events

started
Created at 2 months ago

Add GUI builder and fix some bugs.

  • loader.go: Load() => LoadFromFile() and LoadFromString();
  • watcher.go:
    • NewWatcher():
      • output error instead of panic;
      • fix handler(nil) bug;
  • widgets.go:
    • Grid: fix nil bug;
    • Card: add Resize() and Move();
    • Entry: add Resize() and Move();
    • RadioGroup: fix missing return bug;
    • Image: fix nil bug;
    • FormItem: fix nil bug;
  • move demo to cmd/demo;
  • add cmd/builder for GUI builder;
Created at 2 months ago

Add watcher for hot reloading.

Add GUI builder and fix some bugs.

  • loader.go: Load() => LoadFromFile() and LoadFromString();
  • watcher.go:
    • NewWatcher():
      • output error instead of panic;
      • fix handler(nil) bug;
  • widgets.go:
    • Grid: fix nil bug;
    • Card: add Resize() and Move();
    • Entry: add Resize() and Move();
    • RadioGroup: fix missing return bug;
    • Image: fix nil bug;
    • FormItem: fix nil bug;
  • move demo to cmd/demo;
  • add cmd/builder for GUI builder;
Created at 2 months ago

Add more containers, widgets and canvas objects and refactor loader.go

container

  • Max
  • Center
  • VBox
  • HBox
  • Grid
  • Padded
  • FormLayout
  • Spacer
  • AppTab
  • DocTab
    • TabItem
  • Scroll
    • HScroll
    • VScroll
  • HSplit
  • VSplit

widget

  • Accordion
    • AccordionItem
  • Button
  • Card
  • Check
  • CheckGroup
  • Entry
    • SelectEntry
  • FileIcon
  • Form
    • FormItem
  • Link
  • Icon
  • Label
  • ProgressBar
    • ProgressBarInfinite
  • RadioGroup
  • RichText
  • Select
  • Separator
  • Slider
  • TextGrid
  • Toolbar
    • ToolbarAction
    • ToolbarSeparator
    • ToolbarSpacer

canvas

  • Circle
  • Image
  • Line
  • LinearGradient
  • RadialGradient
  • Raster
  • Rectangle
  • Text

Fix go.mod.

Created at 2 months ago