Comments (3)
thank you very much for the answer, appreciate it.
from carbonkitswift.
If there are only two tab options, how do I center the tabs to equal width and the title of the tab to be aligned center in each tab
from carbonkitswift.
in your settings apply:
carbonTabSwipeNavigation.setTabExtraWidth(30)
carbonTabSwipeNavigation.carbonSegmentedControl!.setWidth(UIScreen.mainScreen().bounds.size.width/2, forSegmentAtIndex: 0)
carbonTabSwipeNavigation.carbonSegmentedControl!.setWidth(UIScreen.mainScreen().bounds.size.width/2, forSegmentAtIndex: 1)
from carbonkitswift.
Related Issues (15)
- Can become unresponsive
- Set Current Index
- Tabs from Right to left
- how to set equal width if there's only 2 Segment? HOT 1
- How to set Badge to carbonSegmentedControl
- stop swiping
- carbonTabSwipeNavigation call multiple times
- App Crashes if it is not rootview HOT 1
- Building error in Xcode 7.2
- does it work in Objective-C project ? HOT 1
- Custom Images in each segment
- how can use this?
- How to remove the line between navigation bar and the custom carbon kit tool bar HOT 3
- Unable to navigate desired tab index o carbonswipetabnavigation HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from carbonkitswift.