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="*"/>
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<!-- Header - COMPATTO SU 2 RIGHE -->
|
||||
<Border Grid.Row="0" Background="#2D2D30" Padding="15,10" BorderBrush="#3E3E42" BorderThickness="0,0,0,1">
|
||||
<!-- Header - COMPATTO SU 3 RIGHE -->
|
||||
<Border Grid.Row="0" Background="#2D2D30" Padding="15,8" BorderBrush="#3E3E42" BorderThickness="0,0,0,1">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition Height="Auto"/>
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<!-- Riga 1: Puntate + Credito -->
|
||||
<StackPanel Grid.Row="0" Orientation="Horizontal" HorizontalAlignment="Left" Margin="0,0,0,5">
|
||||
<!-- Riga 1: Solo Puntate -->
|
||||
<StackPanel Grid.Row="0" Orientation="Horizontal" HorizontalAlignment="Left" Margin="0,0,0,3">
|
||||
<TextBlock Text="Puntate: "
|
||||
Foreground="#999999"
|
||||
FontSize="13"
|
||||
Margin="0,0,5,0"/>
|
||||
|
||||
<!-- ? StackPanel per includere indicatore limite -->
|
||||
<!-- ?? StackPanel per includere indicatore limite -->
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock x:Name="RemainingBidsText"
|
||||
Text="0"
|
||||
@@ -79,7 +80,7 @@
|
||||
FontWeight="Bold"
|
||||
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"
|
||||
Text="(20)"
|
||||
FontSize="13"
|
||||
@@ -89,20 +90,23 @@
|
||||
Visibility="Collapsed"
|
||||
ToolTip="Limite minimo puntate attivo"/>
|
||||
</StackPanel>
|
||||
|
||||
</StackPanel>
|
||||
|
||||
<!-- Riga 2: Solo Credito Shop -->
|
||||
<StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Left" Margin="0,0,0,3">
|
||||
<TextBlock Text="Credito Shop: "
|
||||
Foreground="#999999"
|
||||
FontSize="13"
|
||||
Margin="25,0,5,0"/>
|
||||
FontSize="12"
|
||||
Margin="0,0,5,0"/>
|
||||
<TextBlock x:Name="ShopCreditText"
|
||||
Text="EUR 0.00"
|
||||
Foreground="#00D800"
|
||||
FontSize="13"
|
||||
FontSize="12"
|
||||
FontWeight="Bold"/>
|
||||
</StackPanel>
|
||||
|
||||
<!-- Riga 2: Aste vinte -->
|
||||
<StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Left">
|
||||
<!-- Riga 3: Solo Aste vinte -->
|
||||
<StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Left">
|
||||
<TextBlock Text="Aste vinte da confermare: "
|
||||
Foreground="#999999"
|
||||
FontSize="12"
|
||||
@@ -114,8 +118,8 @@
|
||||
FontWeight="Bold"/>
|
||||
</StackPanel>
|
||||
|
||||
<!-- Control Buttons (Right) - Su entrambe le righe -->
|
||||
<StackPanel Grid.Row="0" Grid.RowSpan="2" Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Center">
|
||||
<!-- Control Buttons (Right) - Su tutte e 3 le righe -->
|
||||
<StackPanel Grid.Row="0" Grid.RowSpan="3" Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Center">
|
||||
<Button x:Name="StartButton"
|
||||
Content="Avvia Tutti"
|
||||
Background="#00D800"
|
||||
|
||||
Reference in New Issue
Block a user