Jump to content
Felix.

[Android] Which component for toolbar

Recommended Posts

Which component do you use to create a toolbar with buttons (TToolbar, TRectangle, TPanel?) in your Firemonkey projects and why?

Thanks!

Share this post


Link to post

I always try to use most basic components, to reduce possible problems.

Like TToolbar => TLayout, and nested TLayout's for all other grouping when necessary, all together with TAlignLayout and Margins to achieve a responsive behaviour.

Buttons I use TAlignLayout.Left, with Margins Left, Top, Bottom, so I can nicely arrange them one after the other.

Edited by Rollo62
  • Thanks 1

Share this post


Link to post
5 hours ago, Rollo62 said:

I always try to use most basic components, to reduce possible problems.

Like TToolbar => TLayout, and nested TLayout's for all other grouping when necessary, all together with TAlignLayout and Margins to achieve a responsive behaviour.

Buttons I use TAlignLayout.Left, with Margins Left, Top, Bottom, so I can nicely arrange them one after the other.

 

Can you show the screenshot of what you achieve? Just as an example. Thank you

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×