Improve layout

This commit is contained in:
Matthias 2020-09-30 15:33:07 +02:00
parent d939967aab
commit 5dab8d3a76
2 changed files with 5 additions and 4 deletions

View File

@ -21,11 +21,11 @@ export enum DashboardLayout {
const DEFAULT_TRADING_LAYOUT: GridItemData[] = [
{ i: TradeLayout.botControls, x: 0, y: 0, w: 4, h: 4 },
{ i: TradeLayout.multiPane, x: 0, y: 0, w: 4, h: 7 },
{ i: TradeLayout.openTrades, x: 4, y: 11, w: 8, h: 5 },
{ i: TradeLayout.tradeDetail, x: 4, y: 16, w: 8, h: 5 },
{ i: TradeLayout.tradeHistory, x: 4, y: 10, w: 8, h: 6 },
{ i: TradeLayout.logView, x: 0, y: 9, w: 12, h: 3 },
{ i: TradeLayout.chartView, x: 4, y: 0, w: 8, 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 },
];
const DEFAULT_DASHBOARD_LAYOUT: GridItemData[] = [

View File

@ -90,6 +90,7 @@
:y="gridLayoutTradeDetail.y"
:w="gridLayoutTradeDetail.w"
:h="gridLayoutTradeDetail.h"
:min-h="4"
drag-allow-from=".card-header"
>
<DraggableContainer header="Trade Detail">