From f433601a07bfecc8a49755b097f6d2c466fabfbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mads=20S=C3=B8rensen?= Date: Tue, 12 Jan 2021 13:59:00 +0100 Subject: [PATCH] Fix default layout --- src/store/modules/layout.ts | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/src/store/modules/layout.ts b/src/store/modules/layout.ts index 4cac1796..882ab645 100644 --- a/src/store/modules/layout.ts +++ b/src/store/modules/layout.ts @@ -34,16 +34,15 @@ export enum LayoutMutations { setDashboardLayout = 'setDashboardLayout', setTradingLayout = 'setTradingLayout', } - // Define default layouts const DEFAULT_TRADING_LAYOUT: GridItemData[] = [ - { i: TradeLayout.botControls, x: 0, y: 0, w: 3, h: 3 }, - { i: TradeLayout.multiPane, x: 0, y: 3, w: 3, h: 7 }, - { i: TradeLayout.chartView, x: 3, y: 0, w: 9, h: 11 }, - { i: TradeLayout.tradeDetail, x: 0, y: 11, w: 5, h: 6 }, - { i: TradeLayout.openTrades, x: 5, y: 11, w: 7, h: 5 }, - { i: TradeLayout.tradeHistory, x: 5, y: 12, w: 7, h: 6 }, - { i: TradeLayout.logView, x: 0, y: 16, w: 12, h: 3 }, + { i: TradeLayout.botControls, x: 0, y: 0, w: 4, h: 3 }, + { i: TradeLayout.multiPane, x: 0, y: 3, w: 4, h: 23 }, + { i: TradeLayout.chartView, x: 4, y: 0, w: 8, h: 11 }, + { i: TradeLayout.tradeDetail, x: 0, y: 44, w: 5, h: 6 }, + { i: TradeLayout.openTrades, x: 4, y: 11, w: 8, h: 5 }, + { i: TradeLayout.tradeHistory, x: 4, y: 16, w: 8, h: 10 }, + { i: TradeLayout.logView, x: 0, y: 26, w: 12, h: 15 }, ]; const DEFAULT_DASHBOARD_LAYOUT: GridItemData[] = [