Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Align vertically #129

Open
ad-boschung opened this issue Aug 5, 2022 · 3 comments
Open

Align vertically #129

ad-boschung opened this issue Aug 5, 2022 · 3 comments

Comments

@ad-boschung
Copy link

I noticed that it is possible to center tags horizontally in the view with the TTGTagCollectionAlignmentX possibilities.

Is it possible to center tags vertically in the view ?

In the image below, you can see a red box (TTGTextTagCollectionView) and the tag inside.
The red box take the full height of the superview, so it can change.

I can have multiple tags that will be presented vertically, but can have only one tag too.

Is it possible to center the tags vertically in the TTGTextTagCollectionView ?

I didn't found something to do it.

IMG_199AB776366D-1

@zekunyan
Copy link
Owner

zekunyan commented Aug 8, 2022

Can you show me more UI demos about "how to organize tags vertically" ?

@ad-boschung
Copy link
Author

ad-boschung commented Aug 8, 2022

In the images below, I tried to illustrate what I mean with "organize tags vertically".

I need that in the TTGTextTagCollectionView (orange box) the child views are center vertically.
They should be in the middle of the view, based on the y axis.

Is it possible to do this ?

If it's still not clear, let mw know.

Screenshot 2022-08-08 at 09 08 17
Screenshot 2022-08-08 at 09 08 43
Screenshot 2022-08-08 at 09 11 03
Screenshot 2022-08-08 at 09 11 32

@zekunyan
Copy link
Owner

I will think about it in the next version. It may take some time to build it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants