mirror of
https://github.com/unidoc/unipdf.git
synced 2025-05-05 19:30:30 +08:00
Adjust division test
This commit is contained in:
parent
d4da6857b7
commit
555b70017e
@ -139,13 +139,14 @@ func TestDivInline(t *testing.T) {
|
|||||||
style.Color = ColorRGBFrom8bit(0, 0, 255)
|
style.Color = ColorRGBFrom8bit(0, 0, 255)
|
||||||
|
|
||||||
s := NewStyledParagraph("This styled paragraph should ", style)
|
s := NewStyledParagraph("This styled paragraph should ", style)
|
||||||
|
s.SetEnableWrap(false)
|
||||||
|
|
||||||
style.Color = ColorRGBFrom8bit(255, 0, 0)
|
style.Color = ColorRGBFrom8bit(255, 0, 0)
|
||||||
s.Append("fit", style)
|
s.Append("fit", style)
|
||||||
|
|
||||||
style.Color = ColorRGBFrom8bit(0, 255, 0)
|
style.Color = ColorRGBFrom8bit(0, 255, 0)
|
||||||
style.Font = fontBold
|
style.Font = fontBold
|
||||||
s.Append(" right in.", style)
|
s.Append(" in.", style)
|
||||||
|
|
||||||
div.Add(s)
|
div.Add(s)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user