Questions tagged [cirrious.fluentlayout]
12 questions
1
vote
1 answer
How to set UIScrollView constraints for expanding height using FluentLayout?
I'm trying to create a ViewController in Xamarin.iOS to show a modal page that scales height as needed, and when not enough height is available it will scroll the content.
Anyone suggestions how to set the UIScrollView to do this?
Currently I can…

Toine db
- 709
- 7
- 25
1
vote
1 answer
How to modify a constraint using mvvmcross fluentLayout
I've figuratively pulled my hair out on this one. I read from this article "http://gregshackles.com/fluentlayout-2-5/" that FluentLayout now supports constraint editing/removing but it doesn't seem to work on my end. My scenario is to toggle the…

MRainzo
- 3,800
- 2
- 16
- 25
1
vote
2 answers
MVVMCross FluentLayout Equal Horizontal Spacing
I am creating a TableCell using Cirrious.FluentLayout in MVVMCross to add constraints.
I've added four images to the ContentView and have had to manually space them out (Horizontally) by calculating the margin in the constructor
var gap =…

Ashley Jackson
- 183
- 1
- 1
- 8
1
vote
0 answers
Xamarin.iOS AutoLayouts (Cirrious.FluentLayout) and PresentViewController weird behvaior
I am seeing constraints errors in my output window when I invoke a UIViewController using PresentViewController
Here is what my view heirarchy looks like:
MainViewController (RootViewController)
Outer MainVC Button
Nested UINavigationController…

Raghu
- 2,678
- 2
- 31
- 38
0
votes
1 answer
How to set height of view with FluentLayout
I am using FluentLayout with my Xamarin.iOS project. I created a view:
public class SignInView : UIView
{
private const int headerSpacing = 20;
private const int textFieldSpacing = 10;
private const int textFieldButtonSpacing = 15;
…

Drake
- 2,679
- 4
- 45
- 88
0
votes
1 answer
How to add aspect ratio constraint with FluentLayout
Using Cirrious.FluentLayout how can I add an aspect ratio constraint?

Hackmodford
- 3,901
- 4
- 35
- 78
0
votes
1 answer
Change constraint in FluentLayout
I am using FluentLayout to create IOS layouts and I am trying to remove a constraint and it does not work. I tried using both RemoveConstraint and Constraint.Active = false but none of them are working.
Do you have any idea on how can I do this?

Kam
- 391
- 1
- 3
- 12
0
votes
1 answer
iOS UIScrollView is scrollable the second time the view is opened in Xamarin.iOS
I try to implement the following structure of views in my Xamarin.iOS application. I'm using FluentLayout and MvvmCross 6.0.1.
View (controller)
- UIScrollView
- UIView
- UIView,
- UIView/UILabel etc.
- UIView/UILabel etc.
…

Dominik Roszkowski
- 2,715
- 1
- 19
- 46
0
votes
2 answers
Subview in Scrollview Fluent layout
I'm new at using Fluent layout for a Xamarin.iOS project and I now stumbled on a problem that I don't know how to solve.
The situation is like this:
I have a scrollview as the mainView and some texts inside that, and I now want to add another view…

wallef
- 487
- 3
- 11
0
votes
1 answer
Have two items, each taking half the screens width
I have 2 buttons that I want to have next to each other, each taking up half the width of the screen (with margins) (i.e. they are the same width no matter what the screen size).
I have the following:
contact.Below(auctioneerView,…

David Pilkington
- 13,528
- 3
- 41
- 73
0
votes
1 answer
How to align subviews in center with Xamarin iOS Fluent Layout?
My code is like this:
var nameTextField = new UITextField();
var passwordTextField = new UITextField();
var loginButton = new UIButton();
//Bindings with…

Rafael de Andrade
- 853
- 1
- 6
- 11
0
votes
1 answer
Is it possible to create an autosize constraint for a cell that hosts an inner UITableView?
I have a layout that requires an MvxTableViewCell to render an inner UITableView. I can get the layouts working pretty nicely with FluentLayout except that I can't seem to get the hosting cell to render until I set a static height. The problem with…

Jamie Fraser
- 75
- 8