From da4753f74a1962c91e6c1aa77129a1ba63fbe873 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jean-Philippe=20Bruy=C3=A8re?= Date: Tue, 9 Feb 2021 16:16:23 +0100 Subject: [PATCH] default button sizing --- Crow/Default.style | 7 ++++--- Crow/Templates/Button.template | 2 +- Crow/Templates/FileDialog.template | 2 +- Crow/src/Widgets/TreeView.cs | 7 +++++-- Samples/PerfTests/Program.cs | 2 +- Samples/common/SampleBase.cs | 4 ++-- 6 files changed, 14 insertions(+), 10 deletions(-) diff --git a/Crow/Default.style b/Crow/Default.style index 456376ec..8e769699 100644 --- a/Crow/Default.style +++ b/Crow/Default.style @@ -66,9 +66,10 @@ Wrapper { Orientation = "Vertical"; } Button { - Caption = "Button"; - MinimumSize = "50,20"; - Width = "Fit"; + Caption = "Button"; + MinimumSize = "50,22"; + Height = "22"; + Width = "Fit"; } Label { Height = "Fit"; diff --git a/Crow/Templates/Button.template b/Crow/Templates/Button.template index c46da8c6..e9764460 100644 --- a/Crow/Templates/Button.template +++ b/Crow/Templates/Button.template @@ -1,5 +1,5 @@ - - +