Comments (2)
Space is a unique character as it triggers various text-related algorithms. I suggest using the non-break space specified by the Unicode format: U+00A0
container.DefaultTextStyle(x => x.FontColor(Colors.Grey.Darken2))
.Inlined(inlined =>
{
inlined.AlignJustify();
inlined.Item().Text("DEBTORS CONTROL ACCOUNT");
var code = "3100".PadLeft(5, '\u00a0').PadRight(12, '\u00a0');
inlined.Item().Text(code).BackgroundColor(Colors.Green.Lighten3);
});
from questpdf.
That worked perfectly. Thanks!
from questpdf.
Related Issues (20)
- multiple Table.Header is not working anymore HOT 11
- Add a table inside another table in QuestPDF
- GenerateImages results in a large amount of unmanaged memory HOT 7
- "Your runtime is currently not supported by QuestPDF." on AWS 64bit Amazon Linux HOT 3
- Table Footer Issue HOT 1
- DocumentLayoutException on upgrading from 2024.3.10 with rotated element HOT 2
- CheckIfAllTextGlyphsAreAvailable enhancement
- Color.FromRGB(0,0,0) has alpha 0 HOT 1
- Help with avoiding DocumentLayoutException on table with user input HOT 1
- TypeInitializationException when instantiating QuestPDF from a Windows Service application on a Windows Server. HOT 1
- Companion app window cannot be resized and moved
- Document.GeneratePdf never returns and runs indefinitely HOT 2
- using async foreach populating a table HOT 2
- Companion app crashes when click open in code editor HOT 5
- QuestPDF GeneratePdf method hangs on AWS ECS Fargate HOT 1
- Companion App does not work HOT 1
- issue about height when draw 2 intersecting lines using Canvas HOT 1
- Companion App high CPU usage and hot laptop HOT 3
- Companion App is probably stuck HOT 10
- MacOS darkmode debug pointer readability HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from questpdf.