[NOT READY] Update release

This commit is contained in:
Zihan Chen
2019-01-10 06:30:52 -08:00
parent c6a61aece1
commit 5e063f0f98
32 changed files with 1118 additions and 1297 deletions
@@ -91,7 +91,7 @@
</Cell>
<Cell Site="row:0 column:3 rowSpan:3">
<SolidLabel Color="#FF8000" Text-bind="ToString(self.Category)" Font-bind="self.Font" HorizontalAlignment="Left" VerticalAlignment="Center" Ellipse="true"/>
<SolidLabel Color="#FF8000" Text-bind="ToString(self.Category)" Font-bind="self.DisplayFont" HorizontalAlignment="Left" VerticalAlignment="Center" Ellipse="true"/>
</Cell>
</Table>
</CustomControl>
@@ -42,16 +42,16 @@
<Cell Site="row:0 column:2 rowSpan:2">
<Stack AlignmentToParent="left:0 top:0 right:0 bottom:0" MinSizeLimitation="LimitToElementAndChildren" Direction="Vertical" Padding="5">
<StackItem>
<SolidLabel Font-bind="self.Font" Color="#FFFFFF" Text-format="DP1: $(dp1.Date)"/>
<SolidLabel Font-bind="self.DisplayFont" Color="#FFFFFF" Text-format="DP1: $(dp1.Date)"/>
</StackItem>
<StackItem>
<SolidLabel Font-bind="self.Font" Color="#FFFFFF" Text-format="DP2: $(dp2.Date)"/>
<SolidLabel Font-bind="self.DisplayFont" Color="#FFFFFF" Text-format="DP2: $(dp2.Date)"/>
</StackItem>
<StackItem>
<SolidLabel Font-bind="self.Font" Color="#FFFFFF" Text-format="DC1: $(dc1.SelectedDate)"/>
<SolidLabel Font-bind="self.DisplayFont" Color="#FFFFFF" Text-format="DC1: $(dc1.SelectedDate)"/>
</StackItem>
<StackItem>
<SolidLabel Font-bind="self.Font" Color="#FFFFFF" Text-format="DC2: $(dc2.SelectedDate)"/>
<SolidLabel Font-bind="self.DisplayFont" Color="#FFFFFF" Text-format="DC2: $(dc2.SelectedDate)"/>
</StackItem>
</Stack>
</Cell>
@@ -378,7 +378,7 @@
var end = document.CaretEnd;
var style = document.SummarizeStyle(begin, end);
var baselineFont = document.Font;
var baselineFont = document.DisplayFont;
dialogFont.SelectedFont =
{
fontFamily: ( style.face is null ? baselineFont.fontFamily : cast string style.face )
@@ -46,7 +46,7 @@
var styles = ViewModel.Style.styles;
if (styles.color is not null) { styleLabel.Color = cast Color styles.color; }
var font = containerControl.Font;
var font = containerControl.DisplayFont;
var fontFamily = font.fontFamily;
var bold = font.bold;
var italic = font.italic;
@@ -103,7 +103,7 @@
</Cell>
<Cell Site="row:1 column:0">
<SolidLabel Text-bind="ViewModel.Name" Font-eval="containerControl.Font" Ellipse="true" HorizontalAlignment="Center">
<SolidLabel Text-bind="ViewModel.Name" Font-eval="containerControl.DisplayFont" Ellipse="true" HorizontalAlignment="Center">
<att.Color-bind>
<![CDATA[cast Color (self.Selected ? "#FFFFFF" : "#808080")]]>
</att.Color-bind>
@@ -114,7 +114,7 @@
<att.TooltipControl>
<CustomControl>
<Bounds AlignmentToParent="left:5 top:5 right:5 bottom:5" MinSizeLimitation="LimitToElementAndChildren">
<SolidLabel Text-bind="ViewModel.Name" Color="#FFFFFF" Font-eval="containerControl.Font"/>
<SolidLabel Text-bind="ViewModel.Name" Color="#FFFFFF" Font-eval="containerControl.DisplayFont"/>
</Bounds>
</CustomControl>
</att.TooltipControl>
@@ -238,7 +238,7 @@
<att.AfterHeaders-set>
<Stack Direction="Horizontal" AlignmentToParent="left:0 top:-1 right:0 bottom:0" MinSizeLimitation="LimitToElementAndChildren">
<StackItem InternalMargin="left:0 top:0 right:10 bottom:0">
<SolidLabel Font-bind="self.Font" Color="#FFFFFF" Text="Search:" HorizontalAlignment="Center" VerticalAlignment="Center"/>
<SolidLabel Font-bind="self.DisplayFont" Color="#FFFFFF" Text="Search:" HorizontalAlignment="Center" VerticalAlignment="Center"/>
</StackItem>
<StackItem>
<SinglelineTextBox>
@@ -68,7 +68,7 @@
</att.Columns>
<Cell Site="row:0 column:0">
<SolidLabel Font-bind="self.Font" Color="#FFFFFF" Text-str="Label()" VerticalAlignment="Center"/>
<SolidLabel Font-bind="self.DisplayFont" Color="#FFFFFF" Text-str="Label()" VerticalAlignment="Center"/>
</Cell>
<Cell Site="row:0 column:1">
@@ -93,13 +93,13 @@ So as I pray, unlimited blade works.]]>
</att.Columns>
<Cell Site="row:0 column:0">
<SinglelineTextBox Font-bind="self.Font" AcceptTabInput-bind="self.TextBoxAcceptTabInput" Text="Archer" Alt="S">
<SinglelineTextBox AcceptTabInput-bind="self.TextBoxAcceptTabInput" Text="Archer" Alt="S">
<att.BoundsComposition-set AlignmentToParent="left:0 top:0 right:0 bottom:0"/>
</SinglelineTextBox>
</Cell>
<Cell Site="row:1 column:0">
<MultilineTextBox Font-bind="self.Font" AcceptTabInput-bind="self.TextBoxAcceptTabInput" Text-uri="res://TextBoxComponents/Text" Alt="M" HorizontalAlwaysVisible="false" VerticalAlwaysVisible="false">
<MultilineTextBox AcceptTabInput-bind="self.TextBoxAcceptTabInput" Text-uri="res://TextBoxComponents/Text" Alt="M" HorizontalAlwaysVisible="false" VerticalAlwaysVisible="false">
<att.BoundsComposition-set AlignmentToParent="left:0 top:0 right:0 bottom:0"/>
</MultilineTextBox>
</Cell>
@@ -127,18 +127,18 @@ So as I pray, unlimited blade works.]]>
</att.Columns>
<Cell Site="row:0 column:0 columnSpan:2">
<DocumentTextBox Font-bind="self.Font" AcceptTabInput-bind="self.TextBoxAcceptTabInput" EditMode="Editable" Text="Archer" Alt="T">
<DocumentTextBox AcceptTabInput-bind="self.TextBoxAcceptTabInput" EditMode="Editable" Text="Archer" Alt="T">
<att.BoundsComposition-set AlignmentToParent="left:0 top:0 right:0 bottom:0"/>
</DocumentTextBox>
</Cell>
<Cell Site="row:1 column:0">
<DocumentViewer Font-bind="self.Font" AcceptTabInput-bind="self.TextBoxAcceptTabInput" EditMode="Editable" Document-uri="res://TextBoxComponents/DocFixed" Alt="V">
<DocumentViewer AcceptTabInput-bind="self.TextBoxAcceptTabInput" EditMode="Editable" Document-uri="res://TextBoxComponents/DocFixed" Alt="V">
<att.BoundsComposition-set AlignmentToParent="left:0 top:0 right:0 bottom:0"/>
</DocumentViewer>
</Cell>
<Cell Site="row:1 column:1">
<DocumentLabel Font-bind="self.Font" AcceptTabInput-bind="self.TextBoxAcceptTabInput" EditMode="Editable" Document-uri="res://TextBoxComponents/DocRelative" Alt="L">
<DocumentLabel AcceptTabInput-bind="self.TextBoxAcceptTabInput" EditMode="Editable" Document-uri="res://TextBoxComponents/DocRelative" Alt="L">
<att.BoundsComposition-set AlignmentToParent="left:0 top:0 right:0 bottom:0"/>
</DocumentLabel>
</Cell>
@@ -170,12 +170,12 @@ So as I pray, unlimited blade works.]]>
<TabPage ref.Name="self" Text="TextBox">
<ev.OnMakeFontLarger-eval>
<![CDATA[
self.UpdateFont(ChangeFontSize(t1.Font, 5));
self.UpdateFont(ChangeFontSize(t1.DisplayFont, 5));
]]>
</ev.OnMakeFontLarger-eval>
<ev.OnMakeFontSmaller-eval>
<![CDATA[
self.UpdateFont(ChangeFontSize(t1.Font, -5));
self.UpdateFont(ChangeFontSize(t1.DisplayFont, -5));
]]>
</ev.OnMakeFontSmaller-eval>
@@ -208,7 +208,7 @@ So as I pray, unlimited blade works.]]>
<Button Text="Make Font Larger" Alt="L" ev.Clicked-eval="self.OnMakeFontLarger();"/>
</Cell>
<Cell Site="row:1 column:1">
<Button Text="Make Font Smaller" Alt="S" Enabled-bind="t1.Font.size &gt; 5" ev.Clicked-eval="self.OnMakeFontSmaller();"/>
<Button Text="Make Font Smaller" Alt="S" Enabled-bind="t1.DisplayFont.size &gt; 5" ev.Clicked-eval="self.OnMakeFontSmaller();"/>
</Cell>
</Table>
</TabPage>