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-09-14 09:44:24 -0400
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
19e20b4ca707c7500e1983a19df74c2690c147c1
19e20b4c
1 parent
c51acaf8
Fix Text alignement
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
pdf/lib/widgets/text.dart
pdf/lib/widgets/text.dart
View file @
19e20b4
...
...
@@ -282,7 +282,6 @@ class RichText extends Widget {
double
delta
=
0
;
switch
(
textAlign
)
{
case
TextAlign
.
left
:
totalWidth
=
wordsWidth
;
break
;
case
TextAlign
.
right
:
delta
=
totalWidth
-
wordsWidth
;
...
...
@@ -503,7 +502,7 @@ class RichText extends Widget {
width
,
_realignLine
(
_spans
.
sublist
(
lineStart
),
constraintWidth
,
lines
>
1
?
constraintWidth
:
offsetX
,
offsetX
,
true
,
bottom
,
...
...
Please
register
or
login
to post a comment