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
awcodes13mo ago
I believe there’s a $formActionsAlignment property you can set on each page to reposition them.
Moh
Moh13mo 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
DariusIII13mo ago
Actually
public static string | Alignment $formActionsAlignment = Alignment::Right;
public static string | Alignment $formActionsAlignment = Alignment::Right;
does the trick
codeartisan
codeartisanOP13mo ago
thank you

Did you find this page helpful?