From: Jean-Philippe Bruyère Date: Mon, 13 Sep 2021 05:27:50 +0000 (+0000) Subject: wip, save commit before trying to allow 'ItemTemplate' in style X-Git-Tag: v0.9.7-beta~17 X-Git-Url: https://git.osiis.dedyn.io/?a=commitdiff_plain;h=f85e1c85eac4ea3271e53b6fea6c5bda94e6a8d6;p=jp%2Fcrow.git wip, save commit before trying to allow 'ItemTemplate' in style --- diff --git a/Crow/Default.style b/Crow/Default.style index 16d64f57..e89da49f 100644 --- a/Crow/Default.style +++ b/Crow/Default.style @@ -7,6 +7,8 @@ ControlCaptionHoverColor = "White"; ControlCornerRadius = "0"; ControlInsideMargin = "1"; +ButtonCaptionMargin = "6"; + IconSize = "11"; IconMargin = "1"; ToggleIconSize = "16"; @@ -77,6 +79,14 @@ Button { Height = "Fit"; Width = "Fit"; } +ButtonBorder { + BorderWidth="1"; + Foreground="Transparent"; + MouseEnter="{Foreground=vgradient|0:White|0.2:Grey|0.9:Grey|1:Black}"; + MouseLeave="{Foreground=Transparent}"; + MouseDown="{Foreground=vgradient|0:Black|0.05:Grey|0.85:Grey|1:White}"; + MouseUp="{Foreground=vgradient|0:White|0.2:Grey|0.9:Grey|1:Black}"; +} Label { Height = "Fit"; Width = "Fit"; diff --git a/Crow/Templates/Button.template b/Crow/Templates/Button.template index daa09c6a..9ad621d9 100644 --- a/Crow/Templates/Button.template +++ b/Crow/Templates/Button.template @@ -1,9 +1,4 @@ - -