Skip to content

Commit 721fb6c

Browse files
committed
Revert "Add default template in default.style to have template path string interned -> derived templatedWidget problem: shouls always define style+class"
This reverts commit 98a55f7.
1 parent c4dedb2 commit 721fb6c

File tree

1 file changed

+5
-36
lines changed

1 file changed

+5
-36
lines changed

Crow/Default.style

Lines changed: 5 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -36,39 +36,14 @@ Border {
3636
Margin = "${ControlInsideMargin}";
3737
}
3838

39-
CheckBox {
40-
Template = "#Crow.CheckBox.template";
41-
Caption = "CheckBox";
42-
}
43-
RadioButton {
44-
Template = "#Crow.RadioButton.template";
45-
Caption = "RadioButton";
46-
}
47-
Expandable {
48-
Template = "#Crow.Expandable.template";
49-
Caption = "Expandable";
50-
}
51-
Popper {
52-
Template = "#Crow.Popper.template";
53-
Caption = "Popper";
54-
}
39+
CheckBox { Caption = "CheckBox"; }
40+
RadioButton { Caption = "RadioButton"; }
41+
Expandable { Caption = "Expandable"; }
42+
Popper { Caption = "Popper";}
5543
GroupBox {
56-
Template = "#Crow.GroupBox.template";
5744
Caption = "Group Box";
5845
Foreground = "${ControlForeground}";
5946
}
60-
ListBox {
61-
Template = "#Crow.ListBox.template";
62-
Caption = "List Box";
63-
}
64-
ComboBox {
65-
Template = "#Crow.ComboBox.template";
66-
Caption = "Combo Box";
67-
}
68-
TreeView {
69-
Template = "#Crow.TreeView.template";
70-
Caption = "Tree View";
71-
}
7247

7348
Control {
7449
Margin="${ControlInsideMargin}";
@@ -102,8 +77,6 @@ Wrapper {
10277
Orientation = "Vertical";
10378
}
10479
Button {
105-
Template = "#Crow.Button.template";
106-
//Focusable = "true";
10780
Caption = "Button";
10881
MinimumSize = "60,22";
10982
Height = "Fit";
@@ -139,7 +112,6 @@ TextBox {
139112
Margin = "1";
140113
}
141114
Menu {
142-
Template = "#Crow.Menu.template";
143115
Margin = "0";
144116
Background = "${MenuBackground}";
145117
Height = "Fit";
@@ -150,7 +122,6 @@ Menu {
150122
//SelectionColoring = "false";
151123
}
152124
MenuItem {
153-
Template = "#Crow.MenuItem.template";
154125
Caption = "MenuItem";
155126
Width = "Stretched";
156127
Height = "Fit";
@@ -308,7 +279,6 @@ ArrowBut {
308279
}
309280

310281
ScrollBar {
311-
Template = "#Crow.ScrollBar.template";
312282
Orientation = "Vertical";
313283
Maximum = "0";
314284
Value = "0";
@@ -327,7 +297,6 @@ HScrollBar {
327297
Orientation = "Horizontal";
328298
}
329299
EnumSelector {
330-
Template = "#Crow.EnumSelector.template";
331300
Width = "Fit";
332301
Height = "Fit";
333302
}
@@ -378,4 +347,4 @@ MessageBox, Popper, Slider, Spinner, TextBox, NumericControl {
378347
}
379348
TemplatedControl, GenericStack {
380349
CacheEnabled="true";
381-
}
350+
}

0 commit comments

Comments
 (0)