Change Button positions

I want to move the buttons on the view and create pages on the right instead of the left
No description
4 Replies
awcodes
awcodes10mo ago
I believe there’s a $formActionsAlignment property you can set on each page to reposition them.
Moh
Moh10mo ago
Yes, you can use it like this on your create page:
public function getFormActionsAlignment(): string|Alignment
{
return Alignment::End;
}
public function getFormActionsAlignment(): string|Alignment
{
return Alignment::End;
}
DariusIII
DariusIII10mo ago
Actually
public static string | Alignment $formActionsAlignment = Alignment::Right;
public static string | Alignment $formActionsAlignment = Alignment::Right;
does the trick
codeartisan
codeartisanOP10mo ago
thank you
Want results from more Discord servers?
Add your server