mirror of
https://github.com/vczh-libraries/Release.git
synced 2026-05-21 04:31:33 +08:00
Fixed all GacUI XML Resource build breaks
This commit is contained in:
@@ -96,9 +96,11 @@
|
||||
var pos = colorList.IndexToGalleryPos(index);
|
||||
var item = self.colorGroups[pos.group].Items[pos.item];
|
||||
var log = $"$(name): $(item.IconColor)\r\n";
|
||||
textLog.Select({row:textLog.RowCount column:0}, {row:textLog.RowCount column:0});
|
||||
var rowCount = textLog.Document.paragraphs.GetCount();
|
||||
var start : TextPos = {row:rowCount column:0};
|
||||
textLog.SetCaret(start, start);
|
||||
textLog.SelectionText = log;
|
||||
textLog.Select({row:textLog.RowCount column:0}, {row:textLog.RowCount column:0});
|
||||
textLog.SetCaret(start, start);
|
||||
}
|
||||
]]></ref.Members>
|
||||
<Window ref.Name="self" Text="control_ribbon_gallery" ClientSize="x:640 y:480">
|
||||
@@ -183,7 +185,7 @@
|
||||
</Cell>
|
||||
|
||||
<Cell Site="row:2 column:0">
|
||||
<MultilineTextBox ref.Name="textLog" Readonly="true" HorizontalAlwaysVisible="false" VerticalAlwaysVisible="true">
|
||||
<MultilineTextBox ref.Name="textLog" EditMode="Selectable" HorizontalAlwaysVisible="false" VerticalAlwaysVisible="true">
|
||||
<att.BoundsComposition-set AlignmentToParent="left:0 top:0 right:0 bottom:0"/>
|
||||
</MultilineTextBox>
|
||||
</Cell>
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
}, -1);
|
||||
});
|
||||
textResult.Text = text;
|
||||
textResult.Select({row:0 column:0}, {row:0 column:0});
|
||||
textResult.SetCaret({row:0 column:0}, {row:0 column:0});
|
||||
}
|
||||
]]>
|
||||
</ev.Clicked-eval>
|
||||
@@ -81,7 +81,7 @@
|
||||
</Cell>
|
||||
|
||||
<Cell Site="row:1 column:0 columnSpan:2">
|
||||
<MultilineTextBox ref.Name="textResult" HorizontalAlwaysVisible="false" VerticalAlwaysVisible="false" Readonly="true">
|
||||
<MultilineTextBox ref.Name="textResult" HorizontalAlwaysVisible="false" VerticalAlwaysVisible="false" EditMode="Selectable">
|
||||
<att.BoundsComposition-set AlignmentToParent="left:0 top:0 right:0 bottom:0"/>
|
||||
</MultilineTextBox>
|
||||
</Cell>
|
||||
|
||||
@@ -242,7 +242,7 @@ Closures
|
||||
}
|
||||
(__vwsn_co0_text = ::demo::IStringAsync::CastResult(::vl::__vwsn::This(__vwsn_co_result_.Obj())->GetResult()));
|
||||
::vl::__vwsn::This(__vwsnthis_0->textResult)->SetText(__vwsn_co0_text);
|
||||
::vl::__vwsn::This(__vwsnthis_0->textResult)->Select([&](){ ::vl::presentation::TextPos __vwsn_temp__; __vwsn_temp__.row = static_cast<::vl::vint>(0); __vwsn_temp__.column = static_cast<::vl::vint>(0); return __vwsn_temp__; }(), [&](){ ::vl::presentation::TextPos __vwsn_temp__; __vwsn_temp__.row = static_cast<::vl::vint>(0); __vwsn_temp__.column = static_cast<::vl::vint>(0); return __vwsn_temp__; }());
|
||||
::vl::__vwsn::This(__vwsnthis_0->textResult)->SetCaret([&](){ ::vl::presentation::TextPos __vwsn_temp__; __vwsn_temp__.row = static_cast<::vl::vint>(0); __vwsn_temp__.column = static_cast<::vl::vint>(0); return __vwsn_temp__; }(), [&](){ ::vl::presentation::TextPos __vwsn_temp__; __vwsn_temp__.row = static_cast<::vl::vint>(0); __vwsn_temp__.column = static_cast<::vl::vint>(0); return __vwsn_temp__; }());
|
||||
this->SetStatus(::vl::reflection::description::CoroutineStatus::Stopped);
|
||||
return;
|
||||
}
|
||||
@@ -400,7 +400,7 @@ Class (::demo::MainWindowConstructor)
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"textResult"), ::vl::__vwsn::Box(this->textResult));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->textResult)->SetReadonly(true);
|
||||
::vl::__vwsn::This(this->textResult)->SetEditMode(::vl::presentation::controls::GuiDocumentEditMode::Selectable);
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->textResult)->SetVerticalAlwaysVisible(false);
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -48,7 +48,7 @@
|
||||
<Label Text="A + B = : "/>
|
||||
</Cell>
|
||||
<Cell Site="row:2 column:1">
|
||||
<SinglelineTextBox ref.Name="textBoxC" Readonly="true" Text-bind="(cast int textBoxA.Text) + (cast int textBoxB.Text) ?? 'ERROR'">
|
||||
<SinglelineTextBox ref.Name="textBoxC" EditMode="Selectable" Text-bind="(cast int textBoxA.Text) + (cast int textBoxB.Text) ?? 'ERROR'">
|
||||
<att.BoundsComposition-set AlignmentToParent="left:0 top:0 right:0 bottom:0"/>
|
||||
</SinglelineTextBox>
|
||||
</Cell>
|
||||
|
||||
@@ -298,7 +298,7 @@ namespace demo
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"textBoxC"), ::vl::__vwsn::Box(this->textBoxC));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->textBoxC)->SetReadonly(true);
|
||||
::vl::__vwsn::This(this->textBoxC)->SetEditMode(::vl::presentation::controls::GuiDocumentEditMode::Selectable);
|
||||
}
|
||||
(this->__vwsn_precompile_13 = ::vl::__vwsn::This(this->textBoxC)->GetBoundsComposition());
|
||||
{
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
<Label Text="A + B = : "/>
|
||||
</Cell>
|
||||
<Cell Site="row:2 column:1">
|
||||
<SinglelineTextBox ref.Name="textBoxC" Readonly="true">
|
||||
<SinglelineTextBox ref.Name="textBoxC" EditMode="Selectable">
|
||||
<att.BoundsComposition-set AlignmentToParent="left:0 top:0 right:0 bottom:0"/>
|
||||
</SinglelineTextBox>
|
||||
</Cell>
|
||||
|
||||
@@ -216,7 +216,7 @@ namespace demo
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"textBoxC"), ::vl::__vwsn::Box(this->textBoxC));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->textBoxC)->SetReadonly(true);
|
||||
::vl::__vwsn::This(this->textBoxC)->SetEditMode(::vl::presentation::controls::GuiDocumentEditMode::Selectable);
|
||||
}
|
||||
(this->__vwsn_precompile_13 = ::vl::__vwsn::This(this->textBoxC)->GetBoundsComposition());
|
||||
{
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
<Label Text="A + B = : "/>
|
||||
</Cell>
|
||||
<Cell Site="row:2 column:1">
|
||||
<SinglelineTextBox ref.Name="textBoxC" Readonly="true">
|
||||
<SinglelineTextBox ref.Name="textBoxC" EditMode="Selectable">
|
||||
<att.BoundsComposition-set AlignmentToParent="left:0 top:0 right:0 bottom:0"/>
|
||||
</SinglelineTextBox>
|
||||
</Cell>
|
||||
|
||||
@@ -218,7 +218,7 @@ namespace demo
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"textBoxC"), ::vl::__vwsn::Box(this->textBoxC));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->textBoxC)->SetReadonly(true);
|
||||
::vl::__vwsn::This(this->textBoxC)->SetEditMode(::vl::presentation::controls::GuiDocumentEditMode::Selectable);
|
||||
}
|
||||
(this->__vwsn_precompile_13 = ::vl::__vwsn::This(this->textBoxC)->GetBoundsComposition());
|
||||
{
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
<Label Text="A + B = : "/>
|
||||
</Cell>
|
||||
<Cell Site="row:2 column:1">
|
||||
<SinglelineTextBox ref.Name="textBoxC" Readonly="true">
|
||||
<SinglelineTextBox ref.Name="textBoxC" EditMode="Selectable">
|
||||
<att.BoundsComposition-set AlignmentToParent="left:0 top:0 right:0 bottom:0"/>
|
||||
</SinglelineTextBox>
|
||||
</Cell>
|
||||
|
||||
@@ -220,7 +220,7 @@ Class (::demo::MainWindowConstructor)
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"textBoxC"), ::vl::__vwsn::Box(this->textBoxC));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->textBoxC)->SetReadonly(true);
|
||||
::vl::__vwsn::This(this->textBoxC)->SetEditMode(::vl::presentation::controls::GuiDocumentEditMode::Selectable);
|
||||
}
|
||||
(this->__vwsn_precompile_13 = ::vl::__vwsn::This(this->textBoxC)->GetBoundsComposition());
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user