From 86f4e9c75951153ae9825f4772633e45698cb602 Mon Sep 17 00:00:00 2001 From: Normand Briere <nbriere@noware.ca> Date: Sun, 16 Dec 2018 21:21:43 -0500 Subject: [PATCH] Timeflow clean-up. --- timeflow/views/TimelineView.java | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/timeflow/views/TimelineView.java b/timeflow/views/TimelineView.java index 06190c6..2e22fb6 100755 --- a/timeflow/views/TimelineView.java +++ b/timeflow/views/TimelineView.java @@ -37,7 +37,7 @@ return controls; } - public TimelineView(TFModel model) + public TimelineView(TimeflowModel model) { super(model); visuals = new TimelineVisuals(model); @@ -65,7 +65,7 @@ bottom.add(slider, BorderLayout.CENTER); controls = new JPanel(); - controls.setBackground(Color.white); + controls.setBackground(Color.red); controls.setLayout(new BorderLayout());//new GridLayout(2,1)); // top part of grid: zoom buttons. @@ -123,7 +123,7 @@ moveTime(visuals.getFitToVisibleRange()); }}); */ - controls.add(buttons, BorderLayout.NORTH); + controls.add(buttons, BorderLayout.SOUTH); // ok, now do second part of grid: layout style buttons. ComponentCluster layoutPanel = new ComponentCluster("Layout"); @@ -151,7 +151,7 @@ graph.addActionListener(new LayoutSetter(TimelineVisuals.Layout.GRAPH)); layoutGroup.add(graph); - controls.add(layoutPanel, BorderLayout.CENTER); + //controls.add(layoutPanel, BorderLayout.CENTER); } class LayoutSetter implements ActionListener @@ -325,7 +325,7 @@ class TimelinePanel extends AbstractVisualizationView { - public TimelinePanel(TFModel model) + public TimelinePanel(TimeflowModel model) { super(model); -- Gitblit v1.6.2