You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 19, 2023. It is now read-only.
Is it possible to hardcode the position of the items in the toolbar?
I'm thinking of something like this:
Dynamic_string_button............................................Bold...Italic...
The Dynamic_string_button is used as a sort of pseudo autocorrect based on a prepopulated list of words (appears based on what the user types). Bold and Italic button are used to modify the textView.
If the Dynamic_string_button doesn't match any keywords, then only Bold/Italic is shown, but they are still aligned to the right, so something like:
I agree with @Hackmodford — sounds like a flexible width space object, but because the toolbar isn't actually a UIToolbar (but rather a UIView with UIScrollView) you'd have to calculate the width of the buttons and then change the x-position of each, which is not scalable and rather tedious.
Is it possible to hardcode the position of the items in the toolbar?
I'm thinking of something like this:
Dynamic_string_button............................................Bold...Italic...
The Dynamic_string_button is used as a sort of pseudo autocorrect based on a prepopulated list of words (appears based on what the user types). Bold and Italic button are used to modify the textView.
If the Dynamic_string_button doesn't match any keywords, then only Bold/Italic is shown, but they are still aligned to the right, so something like:
.....................................................Bold....Italic
The text was updated successfully, but these errors were encountered: