Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
4aafa7da
Commit
4aafa7da
authored
Jan 30, 2016
by
Ian Hickson
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1488 from Hixie/overflow
Fix copypasta in RenderSizedOverflowBox.
parents
7defbc1c
f2564a41
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
object.dart
packages/flutter/lib/src/rendering/object.dart
+2
-0
overflow.dart
packages/flutter/lib/src/rendering/overflow.dart
+2
-2
No files found.
packages/flutter/lib/src/rendering/object.dart
View file @
4aafa7da
...
...
@@ -751,6 +751,8 @@ abstract class RenderObject extends AbstractNode implements HitTestTarget {
debugPrint
(
'a manner consistent with the constraints provided, and, in addition, that'
);
debugPrint
(
'the getMinIntrinsicWidth(), getMaxIntrinsicWidth(), etc, functions all'
);
debugPrint
(
'return consistent values within the same constraints.'
);
debugPrint
(
'If you are not writing your own RenderObject subclass, then this is not'
);
debugPrint
(
'your fault. Contact support: https://github.com/flutter/flutter/issues/new'
);
}
return
true
;
});
...
...
packages/flutter/lib/src/rendering/overflow.dart
View file @
4aafa7da
...
...
@@ -40,12 +40,12 @@ class RenderSizedOverflowBox extends RenderBox with RenderObjectWithChildMixin<R
double
getMinIntrinsicHeight
(
BoxConstraints
constraints
)
{
assert
(
constraints
.
isNormalized
);
return
constraints
.
constrain
Width
(
_requestedSize
.
height
);
return
constraints
.
constrain
Height
(
_requestedSize
.
height
);
}
double
getMaxIntrinsicHeight
(
BoxConstraints
constraints
)
{
assert
(
constraints
.
isNormalized
);
return
constraints
.
constrain
Width
(
_requestedSize
.
height
);
return
constraints
.
constrain
Height
(
_requestedSize
.
height
);
}
double
computeDistanceToActualBaseline
(
TextBaseline
baseline
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment