Align search and custom-links button layout

This commit is contained in:
Meik
2026-03-05 14:03:44 +01:00
parent 4d4768476f
commit 95031a9ee4
3 changed files with 4 additions and 3 deletions

View File

@@ -16,6 +16,7 @@
- Überschriftenstil tabübergreifend vereinheitlicht.
- "Neues Ticket erstellen" im Tickets-Tab neu positioniert.
- Such-Textbox im Such-Tab auf dieselbe Größe wie die darunterliegenden Aktionsbuttons vereinheitlicht.
- Buttons in `Suche` und `Nützliche Links` in Position und Größe angeglichen.
### Information-Tab
- Label-/Icon-Ausrichtung und vertikale Abstände überarbeitet.

View File

@@ -1159,7 +1159,7 @@ namespace C4IT_CustomerPanel
btn.Height = 40;
btn.FontSize = 16;
btn.Style = FindResource("PrimaryActionButtonStyle") as Style;
btn.Margin = new Thickness(15, 10, 0, 0);
btn.Margin = new Thickness(15, t == 0 ? 0 : 10, 0, 0);
btn.PreviewMouseDown += OnCustomButtonClick;
CustomLinksCtrl.AddLink(btn);
t++;

View File

@@ -39,11 +39,11 @@
Padding="0"
Canvas.Left="40"
Content="{x:Static resx:Resources.CustomLink}" />
<ScrollViewer Canvas.Top="56"
<ScrollViewer Canvas.Top="120"
Canvas.Left="0"
Width="{Binding ActualWidth, ElementName=CanvasLinks, Mode=OneWay}"
MinHeight="60"
MaxHeight="494"
MaxHeight="430"
HorizontalScrollBarVisibility="Disabled"
VerticalScrollBarVisibility="Auto">
<StackPanel x:Name="CustomLinkPanel"