Refactoring layout Header AuctionMonitorControl.xaml
È stato aggiornato il layout del `Header` per passare da una struttura compatta su 2 righe a una su 3 righe. - Aggiunta una nuova `RowDefinition` per gestire la terza riga. - Modificato il `Padding` del `Border` da `15,10` a `15,8`. - Aggiornata `Riga 1` per mostrare solo le `Puntate` con margine ridotto. - Aggiunta `Riga 2` per visualizzare il `Credito Shop` con margini e font ridotti. - Aggiornata `Riga 3` per mostrare solo le `Aste vinte da confermare`. - Esteso lo `StackPanel` dei pulsanti di controllo per coprire tutte e 3 le righe. - Migliorata la leggibilità dei commenti relativi agli indicatori di limite minimo.
This commit is contained in:
@@ -55,22 +55,23 @@
|
|||||||
<RowDefinition Height="*"/>
|
<RowDefinition Height="*"/>
|
||||||
</Grid.RowDefinitions>
|
</Grid.RowDefinitions>
|
||||||
|
|
||||||
<!-- Header - COMPATTO SU 2 RIGHE -->
|
<!-- Header - COMPATTO SU 3 RIGHE -->
|
||||||
<Border Grid.Row="0" Background="#2D2D30" Padding="15,10" BorderBrush="#3E3E42" BorderThickness="0,0,0,1">
|
<Border Grid.Row="0" Background="#2D2D30" Padding="15,8" BorderBrush="#3E3E42" BorderThickness="0,0,0,1">
|
||||||
<Grid>
|
<Grid>
|
||||||
<Grid.RowDefinitions>
|
<Grid.RowDefinitions>
|
||||||
<RowDefinition Height="Auto"/>
|
<RowDefinition Height="Auto"/>
|
||||||
<RowDefinition Height="Auto"/>
|
<RowDefinition Height="Auto"/>
|
||||||
|
<RowDefinition Height="Auto"/>
|
||||||
</Grid.RowDefinitions>
|
</Grid.RowDefinitions>
|
||||||
|
|
||||||
<!-- Riga 1: Puntate + Credito -->
|
<!-- Riga 1: Solo Puntate -->
|
||||||
<StackPanel Grid.Row="0" Orientation="Horizontal" HorizontalAlignment="Left" Margin="0,0,0,5">
|
<StackPanel Grid.Row="0" Orientation="Horizontal" HorizontalAlignment="Left" Margin="0,0,0,3">
|
||||||
<TextBlock Text="Puntate: "
|
<TextBlock Text="Puntate: "
|
||||||
Foreground="#999999"
|
Foreground="#999999"
|
||||||
FontSize="13"
|
FontSize="13"
|
||||||
Margin="0,0,5,0"/>
|
Margin="0,0,5,0"/>
|
||||||
|
|
||||||
<!-- ? StackPanel per includere indicatore limite -->
|
<!-- ?? StackPanel per includere indicatore limite -->
|
||||||
<StackPanel Orientation="Horizontal">
|
<StackPanel Orientation="Horizontal">
|
||||||
<TextBlock x:Name="RemainingBidsText"
|
<TextBlock x:Name="RemainingBidsText"
|
||||||
Text="0"
|
Text="0"
|
||||||
@@ -79,7 +80,7 @@
|
|||||||
FontWeight="Bold"
|
FontWeight="Bold"
|
||||||
Margin="0,0,0,0"/>
|
Margin="0,0,0,0"/>
|
||||||
|
|
||||||
<!-- ? Indicatore limite minimo puntate (solo numero tra parentesi) -->
|
<!-- ?? Indicatore limite minimo puntate (solo numero tra parentesi) -->
|
||||||
<TextBlock x:Name="MinBidsLimitIndicator"
|
<TextBlock x:Name="MinBidsLimitIndicator"
|
||||||
Text="(20)"
|
Text="(20)"
|
||||||
FontSize="13"
|
FontSize="13"
|
||||||
@@ -89,20 +90,23 @@
|
|||||||
Visibility="Collapsed"
|
Visibility="Collapsed"
|
||||||
ToolTip="Limite minimo puntate attivo"/>
|
ToolTip="Limite minimo puntate attivo"/>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
</StackPanel>
|
||||||
|
|
||||||
|
<!-- Riga 2: Solo Credito Shop -->
|
||||||
|
<StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Left" Margin="0,0,0,3">
|
||||||
<TextBlock Text="Credito Shop: "
|
<TextBlock Text="Credito Shop: "
|
||||||
Foreground="#999999"
|
Foreground="#999999"
|
||||||
FontSize="13"
|
FontSize="12"
|
||||||
Margin="25,0,5,0"/>
|
Margin="0,0,5,0"/>
|
||||||
<TextBlock x:Name="ShopCreditText"
|
<TextBlock x:Name="ShopCreditText"
|
||||||
Text="EUR 0.00"
|
Text="EUR 0.00"
|
||||||
Foreground="#00D800"
|
Foreground="#00D800"
|
||||||
FontSize="13"
|
FontSize="12"
|
||||||
FontWeight="Bold"/>
|
FontWeight="Bold"/>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
<!-- Riga 2: Aste vinte -->
|
<!-- Riga 3: Solo Aste vinte -->
|
||||||
<StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Left">
|
<StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Left">
|
||||||
<TextBlock Text="Aste vinte da confermare: "
|
<TextBlock Text="Aste vinte da confermare: "
|
||||||
Foreground="#999999"
|
Foreground="#999999"
|
||||||
FontSize="12"
|
FontSize="12"
|
||||||
@@ -114,8 +118,8 @@
|
|||||||
FontWeight="Bold"/>
|
FontWeight="Bold"/>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
<!-- Control Buttons (Right) - Su entrambe le righe -->
|
<!-- Control Buttons (Right) - Su tutte e 3 le righe -->
|
||||||
<StackPanel Grid.Row="0" Grid.RowSpan="2" Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Center">
|
<StackPanel Grid.Row="0" Grid.RowSpan="3" Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Center">
|
||||||
<Button x:Name="StartButton"
|
<Button x:Name="StartButton"
|
||||||
Content="Avvia Tutti"
|
Content="Avvia Tutti"
|
||||||
Background="#00D800"
|
Background="#00D800"
|
||||||
|
|||||||
Reference in New Issue
Block a user