Skip to content

Commit

Permalink
Revert "Add default template in default.style to have template path s…
Browse files Browse the repository at this point in the history
…tring interned -> derived templatedWidget problem: shouls always define style+class"

This reverts commit 98a55f7.
  • Loading branch information
jpbruyere committed Sep 22, 2021
1 parent c4dedb2 commit 721fb6c
Showing 1 changed file with 5 additions and 36 deletions.
41 changes: 5 additions & 36 deletions Crow/Default.style
Original file line number Diff line number Diff line change
Expand Up @@ -36,39 +36,14 @@ Border {
Margin = "${ControlInsideMargin}";
}

CheckBox {
Template = "#Crow.CheckBox.template";
Caption = "CheckBox";
}
RadioButton {
Template = "#Crow.RadioButton.template";
Caption = "RadioButton";
}
Expandable {
Template = "#Crow.Expandable.template";
Caption = "Expandable";
}
Popper {
Template = "#Crow.Popper.template";
Caption = "Popper";
}
CheckBox { Caption = "CheckBox"; }
RadioButton { Caption = "RadioButton"; }
Expandable { Caption = "Expandable"; }
Popper { Caption = "Popper";}
GroupBox {
Template = "#Crow.GroupBox.template";
Caption = "Group Box";
Foreground = "${ControlForeground}";
}
ListBox {
Template = "#Crow.ListBox.template";
Caption = "List Box";
}
ComboBox {
Template = "#Crow.ComboBox.template";
Caption = "Combo Box";
}
TreeView {
Template = "#Crow.TreeView.template";
Caption = "Tree View";
}

Control {
Margin="${ControlInsideMargin}";
Expand Down Expand Up @@ -102,8 +77,6 @@ Wrapper {
Orientation = "Vertical";
}
Button {
Template = "#Crow.Button.template";
//Focusable = "true";
Caption = "Button";
MinimumSize = "60,22";
Height = "Fit";
Expand Down Expand Up @@ -139,7 +112,6 @@ TextBox {
Margin = "1";
}
Menu {
Template = "#Crow.Menu.template";
Margin = "0";
Background = "${MenuBackground}";
Height = "Fit";
Expand All @@ -150,7 +122,6 @@ Menu {
//SelectionColoring = "false";
}
MenuItem {
Template = "#Crow.MenuItem.template";
Caption = "MenuItem";
Width = "Stretched";
Height = "Fit";
Expand Down Expand Up @@ -308,7 +279,6 @@ ArrowBut {
}

ScrollBar {
Template = "#Crow.ScrollBar.template";
Orientation = "Vertical";
Maximum = "0";
Value = "0";
Expand All @@ -327,7 +297,6 @@ HScrollBar {
Orientation = "Horizontal";
}
EnumSelector {
Template = "#Crow.EnumSelector.template";
Width = "Fit";
Height = "Fit";
}
Expand Down Expand Up @@ -378,4 +347,4 @@ MessageBox, Popper, Slider, Spinner, TextBox, NumericControl {
}
TemplatedControl, GenericStack {
CacheEnabled="true";
}
}

0 comments on commit 721fb6c

Please sign in to comment.