Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
dart_pdf
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
David PHAM-VAN
2019-05-11 13:29:19 -0400
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
13638db90a01cade210bbfc09cddd77bccec81c7
13638db9
1 parent
d5c4a7d4
Fix CustomPaint Widget size
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
pdf/CHANGELOG.md
pdf/lib/widgets/basic.dart
pdf/CHANGELOG.md
View file @
13638db
# 1.3.9
*
Fix Transform Widget alignment
*
Fix CustomPaint Widget size
# 1.3.8
*
Add jpeg image loading function
...
...
pdf/lib/widgets/basic.dart
View file @
13638db
...
...
@@ -441,8 +441,7 @@ class CustomPaint extends SingleChildWidget {
void
layout
(
Context
context
,
BoxConstraints
constraints
,
{
bool
parentUsesSize
=
false
})
{
if
(
child
!=
null
)
{
child
.
layout
(
context
,
constraints
.
tighten
(
width:
size
.
x
,
height:
size
.
y
),
parentUsesSize:
parentUsesSize
);
child
.
layout
(
context
,
constraints
,
parentUsesSize:
parentUsesSize
);
assert
(
child
.
box
!=
null
);
box
=
child
.
box
;
}
else
{
...
...
Please
register
or
login
to post a comment