Fix margins for the audio flyin

This commit is contained in:
scorpion-26 2023-07-19 01:49:08 +02:00
parent c5d458b3f7
commit 4cbada766e

View file

@ -112,6 +112,7 @@ namespace AudioFlyin
DynCtx::slider = slider.get(); DynCtx::slider = slider.get();
auto icon = Widget::Create<Text>(); auto icon = Widget::Create<Text>();
icon->SetHorizontalTransform({-1, true, Alignment::Fill, 0, 8});
if (DynCtx::type == Type::Speaker) if (DynCtx::type == Type::Speaker)
{ {
icon->SetClass("audio-icon"); icon->SetClass("audio-icon");