|
@@ -85,7 +85,7 @@ public class FilterButton<T> : Button
|
|
|
|
|
|
if (!string.IsNullOrEmpty(text))
|
|
if (!string.IsNullOrEmpty(text))
|
|
{
|
|
{
|
|
- MaxWidth = double.MaxValue;
|
|
|
|
|
|
+ stackPnl.MaxWidth = double.MaxValue;
|
|
var lbl = new Label();
|
|
var lbl = new Label();
|
|
lbl.Content = text;
|
|
lbl.Content = text;
|
|
lbl.VerticalAlignment = VerticalAlignment.Stretch;
|
|
lbl.VerticalAlignment = VerticalAlignment.Stretch;
|
|
@@ -96,7 +96,7 @@ public class FilterButton<T> : Button
|
|
}
|
|
}
|
|
else
|
|
else
|
|
{
|
|
{
|
|
- MaxWidth = 30;
|
|
|
|
|
|
+ stackPnl.MaxWidth = 30;
|
|
}
|
|
}
|
|
|
|
|
|
Content = stackPnl;
|
|
Content = stackPnl;
|