33 references to HorizontalThickness
Microsoft.Maui (20)
Layouts\AbsoluteLayoutManager.cs (2)
21
var availableWidth = widthConstraint - padding.
HorizontalThickness
;
65
double availableWidth = bounds.Width - padding.
HorizontalThickness
;
Layouts\FlexLayoutManager.cs (3)
22
double availableWidth = bounds.Width - padding.
HorizontalThickness
;
47
var availableWidth = widthConstraint - padding.
HorizontalThickness
;
70
var finalWidth = LayoutManager.ResolveConstraints(widthConstraint, FlexLayout.Width, measuredWidth + padding.
HorizontalThickness
,
Layouts\GridLayoutManager.cs (4)
290
return SumDefinitions(_columns, _columnSpacing) + _padding.
HorizontalThickness
;
300
return SumDefinitions(_columns, _columnSpacing, minimize: true) + _padding.
HorizontalThickness
;
828
ExpandStarDefinitions(_columns, targetSize.Width - _padding.
HorizontalThickness
, GridMinimumWidth() - _padding.
HorizontalThickness
,
Layouts\HorizontalStackLayoutManager.cs (1)
36
measuredWidth += padding.
HorizontalThickness
;
Layouts\LayoutExtensions.cs (7)
23
widthConstraint -= margin.
HorizontalThickness
;
30
return new Size(measureWithoutMargins.Width + margin.
HorizontalThickness
,
50
var frameWidth = Math.Max(0, consumedWidth - margin.
HorizontalThickness
);
163
contentSize = content.Measure(widthConstraint - inset.
HorizontalThickness
,
167
return new Size(contentSize.Width + inset.
HorizontalThickness
, contentSize.Height + inset.VerticalThickness);
180
bounds.Width - padding.
HorizontalThickness
, bounds.Height - padding.VerticalThickness);
225
bounds.Width = Math.Max(bounds.Width, presentedContent.DesiredSize.Width + padding.
HorizontalThickness
);
Layouts\VerticalStackLayoutManager.cs (3)
18
double childWidthConstraint = widthConstraint - padding.
HorizontalThickness
;
38
measuredWidth += padding.
HorizontalThickness
;
52
double width = bounds.Width - padding.
HorizontalThickness
;
Microsoft.Maui.Controls (13)
LegacyLayouts\Layout.cs (7)
202
SizeRequest size = base.Measure(widthConstraint - Padding.
HorizontalThickness
, heightConstraint - Padding.VerticalThickness, flags);
205
return new SizeRequest(new Size(size.Request.Width + Padding.
HorizontalThickness
, size.Request.Height + Padding.VerticalThickness),
206
new Size(size.Minimum.Width + Padding.
HorizontalThickness
, size.Minimum.Height + Padding.VerticalThickness));
273
region.Width -= margin.
HorizontalThickness
;
395
return new Size(sansMargins.Width + Margin.
HorizontalThickness
, sansMargins.Height + Margin.VerticalThickness);
460
double w = Math.Max(0, width - Padding.
HorizontalThickness
);
538
region.Width -= margin.
HorizontalThickness
;
Page\Page.cs (2)
426
area.Width -= Padding.
HorizontalThickness
;
591
double w = Math.Max(0, Width - Padding.
HorizontalThickness
);
ScrollView\ScrollView.cs (1)
186
ContentSize = new Size(frameSize.Width + margin.
HorizontalThickness
,
VisualElement\VisualElement.cs (3)
1208
widthConstraint = Math.Max(0, widthConstraint - margin.
HorizontalThickness
);
1216
result.Minimum = new Size(result.Minimum.Width + margin.
HorizontalThickness
, result.Minimum.Height + margin.VerticalThickness);
1217
result.Request = new Size(result.Request.Width + margin.
HorizontalThickness
, result.Request.Height + margin.VerticalThickness);