Comments (2)
Hi @petrkahanek
I created a pull request for this issue
from tinyconstraints.
Well, I have been using ternary operator in order to pass proper values for RTL (myRandomImageView.leadingToSuperview(offset: isRTL ? -11 : 11)
). But now I realized it's not the best approach as it can be fixed in the future. So the layout would get "broken" for RTL languages again. So better is to go with leading(to:)
/ trailing(to:)
methods.
from tinyconstraints.
Related Issues (20)
- TinyConstraints cannot run in x86_64 simulator on Xcode 12/13 due to VALID_ARCHS built setting
- Fails to build for simulator running an Apple Silicon-based Mac HOT 2
- TinyConstraintsExample.app/Frameworks/SnapKit.framework/Info.plist: No such file or directory
- Center Multiplier HOT 1
- YouTube video tutorials HOT 1
- Documentation needs more examples. HOT 9
- TinyConstraints cannot run on simulator HOT 2
- edges(to:) works incorrectly HOT 1
- Video Documentation: New YouTube Playlist
- top()/bottom()/left()/right() lacks multiplier on offset amount HOT 1
- Naming suggestion HOT 1
- Distribution in stack HOT 2
- Nested Stack View HOT 1
- Allow setting `isActive` default value.
- View declaration conflicts with SwiftUI's View
- Please add support for margins HOT 1
- Aspect Ratio Constraint for UIImageView? HOT 1
- Stack function changes translatesAutoresizingMaskIntoConstraints of superview
- M1 MacBook Air - Not able to locate the module
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 tinyconstraints.