diff --git a/vector/tools.go b/vector/tools.go index 965a379e..763a0d6e 100644 --- a/vector/tools.go +++ b/vector/tools.go @@ -8,7 +8,6 @@ import ( "cogentcore.org/core/events" "cogentcore.org/core/gi" "cogentcore.org/core/icons" - "cogentcore.org/core/styles" "cogentcore.org/core/svg" ) @@ -84,9 +83,6 @@ func (gv *VectorView) ConfigTools() { return } - tb.Style(func(s *styles.Style) { - s.Direction = styles.Column - }) gi.NewButton(tb).SetIcon(icons.ArrowSelectorTool).SetShortcut("S"). SetTooltip("Select, move, and resize objects"). OnClick(func(e events.Event) { diff --git a/vector/vectorview.go b/vector/vectorview.go index aefd3bfb..8bc8f29a 100644 --- a/vector/vectorview.go +++ b/vector/vectorview.go @@ -264,10 +264,6 @@ func (vv *VectorView) AddImage(fname gi.Filename, width, height float32) error { ////////////////////////////////////////////////////////////////////////// // GUI Config -func (vv *VectorView) MainToolbar() *gi.Toolbar { - return vv.ChildByName("main-tb", 0).(*gi.Toolbar) -} - func (vv *VectorView) ModalToolbarStack() *gi.Layout { return vv.ChildByName("modal-tb", 1).(*gi.Layout) }