From e5679cf082ba2cf31aa1d10ee48ec4bb2cb918ae Mon Sep 17 00:00:00 2001 From: John Colvin Date: Tue, 7 Jan 2025 10:51:57 -0500 Subject: [PATCH] ui: Make ladder price links prettier * Change them from hyperlinks to buttons * Add mouse hover animation * Align text to the right (so decimal places line up) --- .../Trading/Ladder/View/LadderView.xaml | 223 ++++++++++++------ 1 file changed, 150 insertions(+), 73 deletions(-) diff --git a/src/client/spark/Modules/Trading/Ladder/View/LadderView.xaml b/src/client/spark/Modules/Trading/Ladder/View/LadderView.xaml index 262166b39..b4b312b1c 100644 --- a/src/client/spark/Modules/Trading/Ladder/View/LadderView.xaml +++ b/src/client/spark/Modules/Trading/Ladder/View/LadderView.xaml @@ -363,13 +363,103 @@ - + + + 1.5 0.5 @@ -487,15 +577,17 @@ Style="{StaticResource LeftPanelPricePointLabel}" /> - + Style="{StaticResource LeftPanelPricePointButton}"> - - - - - - - - - - + + + + + + - + - + Style="{StaticResource LeftPanelPricePointButton}"> - - - - - - - - - - + + + + + + - + - + Style="{StaticResource LeftPanelPricePointButton}"> - - - - - - - - - - + + + + + + - + - + Style="{StaticResource LeftPanelPricePointButton}"> - - - - - - - - - - + + + + + + - + - + Style="{StaticResource LeftPanelPricePointButton}"> - - - - - - - - - - + + + + + + - +