diff --git a/Tutorial/GacUI_Layout/Responsive2/UI/Resource.xml b/Tutorial/GacUI_Layout/Responsive2/UI/Resource.xml index 95f9df2e..2be38a86 100644 --- a/Tutorial/GacUI_Layout/Responsive2/UI/Resource.xml +++ b/Tutorial/GacUI_Layout/Responsive2/UI/Resource.xml @@ -62,7 +62,7 @@ - +
composeType:MinSize @@ -230,7 +230,7 @@ - + diff --git a/Tutorial/GacUI_Layout/Responsive2/UI/Source/DemoPartialClasses.cpp b/Tutorial/GacUI_Layout/Responsive2/UI/Source/DemoPartialClasses.cpp index 67386e7a..51715fee 100644 --- a/Tutorial/GacUI_Layout/Responsive2/UI/Source/DemoPartialClasses.cpp +++ b/Tutorial/GacUI_Layout/Responsive2/UI/Source/DemoPartialClasses.cpp @@ -1324,6 +1324,9 @@ namespace demo { ::vl::__vwsn::This(this->__vwsn_precompile_3)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint>(0); __vwsn_temp__.top = static_cast<::vl::vint>(0); __vwsn_temp__.right = static_cast<::vl::vint>(0); __vwsn_temp__.bottom = static_cast<::vl::vint>(0); return __vwsn_temp__; }()); } + { + ::vl::__vwsn::This(this->__vwsn_precompile_3)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren); + } { ::vl::__vwsn::This(this->__vwsn_precompile_3)->SetRowsAndColumns(static_cast<::vl::vint>(1), static_cast<::vl::vint>(2)); ::vl::__vwsn::This(this->__vwsn_precompile_3)->SetRowOption(static_cast<::vl::vint>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::MinSize; return __vwsn_temp__; }());