Default PIQ column to not visible

This commit is contained in:
Jake Norbut committed 2019-04-30 18:13:22 -05:00
1 parent ee0e719e76
commit 9946c4716f
1 file changed
+9 -1
@@ -38,6 +38,14 @@ namespace mbts.spark {
font_weight = FontWeights.SemiBold.ToOpenTypeWeight()
};
public static LadderColumnSettings DefaultPiqColumnSettings => new LadderColumnSettings {
show = false,
width = 50,
font_family = "Segoe UI",
font_size = 10,
font_weight = FontWeights.SemiBold.ToOpenTypeWeight()
};
[ProtoMember(1)]
public bool show { get; set; }
[ProtoMember(2)]
@@ -250,7 +258,7 @@ namespace mbts.spark {
ask_column = LadderColumnSettings.Default,
price_column = LadderColumnSettings.Default,
last_column = LadderColumnSettings.Default,
piq_column = LadderColumnSettings.Default;
piq_column = LadderColumnSettings.DefaultPiqColumnSettings;
orders_column.background = BTSColors.LadderSpecial.default_column_background;
bid_column.foreground = 0xFFFFFF;
bid_column.background = BTSColors.MarketData.bid;