We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Border
Line
LineView
public Label TitleLabel { get; set; }; public Button CloseButton { get ; set; } public Line Top { get; set; } public Line Left { get; set; } public Line Right{ get; set; } public Line Bottom{ get; set; }
This also indicates the order the views should be added; The label & button must be added after the lines so that they occlude them.
Top.X = Pos.Function (Thickness.Left/ 2); Top.Y = Pos.Function (Thickness.Top / 2); Top.Width = Dim.Fill () - Dim.Function (Thickness.Right / 2); Left.X = Pos.Left (Top); Left.Y = Pos.Top (Top); Left.Height = Dim.Fill () - Dim.Function (Thickness.Bottom / 2); Right.X = Pos.Right (Top); Right.Y = Pos.Top (Top); Right.Height = Dim.Fill () - Dim.Function (Thickness.Bottom / 2); Bottom.X = Pos.Left (Top); Bottom.Y= Pos.Bottom (Left); Bottom.Width = Dim.Fill () - Dim.Function (Thickness.Right / 2); TitleLabel.X = Pos.Right (Left) + 1; TitleLabelY = Pos.Top (Top); CloseButton .X = Pos.Left (Right) - 1; CloseButton .Y = Pos.Top (Top);
view.Border.TitleLabel.X = Pos.Center (); // centers title (default is X = 1) view.Border.TitleLabel.Visible = false; // Turn off the Title.
The text was updated successfully, but these errors were encountered:
tig
No branches or pull requests
Related:
Border
#2814Requires
Border
is not always working #2995Line
and removeLineView
#3014Border
#2814Will enable
Design
Subviews
Layout
This also indicates the order the views should be added; The label & button must be added after the lines so that they occlude them.
Example usage:
The text was updated successfully, but these errors were encountered: