This commit is contained in:
parent
41cfd46278
commit
c33f571567
@ -46,7 +46,7 @@ void SplashScreenLayer::onAttach() {
|
|||||||
|
|
||||||
LayoutStyle progressbarLayoutStyle;
|
LayoutStyle progressbarLayoutStyle;
|
||||||
progressbarLayoutStyle.width = SizeValue(0.5f, SizeUnit::Vmin);
|
progressbarLayoutStyle.width = SizeValue(0.5f, SizeUnit::Vmin);
|
||||||
progressbarLayoutStyle.height = SizeValue(0.5f, SizeUnit::Vmin);
|
progressbarLayoutStyle.height = SizeValue(0.3, SizeUnit::Percent);
|
||||||
|
|
||||||
progressbar = rootContainer->addChild<UiProgressbar>(std::make_unique<UiProgressbar>(
|
progressbar = rootContainer->addChild<UiProgressbar>(std::make_unique<UiProgressbar>(
|
||||||
AssetManager::getTexture("progressbar_background")->getTextureID(),
|
AssetManager::getTexture("progressbar_background")->getTextureID(),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user