Currently, in my Nativescript-Vue app, I am using flex layout to create a custom ActionBar component for reusability. I am facing an issue with aligning the search icon to the end of the row. I attempted to use align-self:flex-end as a solution, but unfortunately, it doesn't seem to be working for me. As someone who is relatively new to Nativescript, dealing with layouts can be quite challenging...
https://i.sstatic.net/yQgWk.png
This is the code snippet I am working with:
<FlexboxLayout style="width:100%; height:auto; flex-direction:column; align-items:flex-start; justify-content:center;">
<FlexboxLayout style="width:100%; height:85px; padding:0px 10px; background-color:blue; flex-direction:row; justify-content:flex-start; align-items:center;">
<Label :text="'fa-bars' | fonticon" class="fa c_light" style="font-size:25; margin:0 10;"/>
<Label text="Pacome" fontSize="24" class="c_light" style="margin:0 10;"/>
<!--THIS SHOULD BE ALIGNED TO THE RIGHT-->
<Label :text="'fa-search' | fonticon" class="fa c_light" style="font-size:25; margin:0 10; align-self:flex-end;"/>
</FlexboxLayout >
</FlexboxLayout >