Questions tagged [text-justify]

The text-justify is a CSS property which can be used to specify the text justification method when using text-align: justify.

The text-justify is a CSS property which can be used to specify the method of text justification when using text-align: justify.

It is important to know that this CSS property is not widely supported in all browsers - it is commonly supported only in Internet Explorer.

95 questions
1
vote
3 answers

justifying inline-block elements using "text-align: justify" not working

I am having the following Markup and I am trying to justify my list along my uls width like so: ul { width: 100%; text-align: justify; } ul::after { content: ''; display: inline-block; width: 100%; } li { display:…
Marten Zander
  • 2,385
  • 3
  • 17
  • 32
1
vote
1 answer

Justify text inside Android Textview

I want to Justify text inside Android TextView. With copy and share function and can accept spannable string. Can someone help me. It's so important for me. Thank you in advance
1
vote
1 answer

Justify text inside PdfPTable cell using iText XMLWorker

I am trying to justify the text inside a PdfPTable cell with the following code: PdfPTable pTable = new PdfPTable(1); pTable.setWidthPercentage(98f); pTable.setSpacingBefore(10f); …
Hemant Metalia
  • 29,730
  • 18
  • 72
  • 91
1
vote
0 answers

RecyclerView has lag and doesn't scroll smoothly

For showing my strings in a list I used RecyclerView, my strings are big and persian so for beatiful UI I want to show them justified. For that I used Text-Justify library. Now I have a beautiful justified text. BUT because of heavy calculation of…
Mneckoee
  • 2,802
  • 6
  • 23
  • 34
1
vote
2 answers

webview justify not show Persia(Farsi)/RTL Language Correctly

i need to make justify for webview to show Persian(Farsi)/RTL String. i use below code : String text = "" + "

" + getString(R.string.test1) …

Saeid
  • 2,261
  • 4
  • 27
  • 59
1
vote
5 answers

css background color only of text justify

I want to set the background color only of a justified text (like when the text is selected by the mouse) I've tried with div, or span inside div, or p without margin, or h1 display inline, but no one of these solutions solved my problem. I don't…
user3746998
1
vote
2 answers

TextViewEx, (Textjustify)

my problem is this, using TextViewEx (https://github.com/bluejamesbond/TextJustify-Android) class texts to justify my android application works fine until the text over a carriage return appear \ n, when this happens the text is cut losing asin…
1
vote
3 answers

C++ text full justification

I'm trying to do a program that full justifies/left and right justification a given string. I've already made the part where you know how many spaces needs to be between words in a string, but what I don't get is how to add or insert those spaces in…
1
vote
3 answers

Justified text with WriteHTML FPDF

Problem: I'm trying make a pdf with FPDF, like this part of a document below (i need a pdf with html tags and Justified text): Title:Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis molestie turpis vitae blandit tristique. Nulla…
Bruno Correa
  • 13
  • 1
  • 1
  • 7
1
vote
1 answer

text-alignment=justify for titanium appcelerator application?

i am using titanium appcelerator to develop cross platform application in ios and android. right now am facing problem with justify the text alignment. i have goggled the things but still no success. This links saying that titanium does not allow…
BhavikKama
  • 8,566
  • 12
  • 94
  • 164
1
vote
1 answer

Line break needed for text-align:justify in list
  • I dont understand why this code:
    1
    vote
    0 answers

    Android WebView Content is Not Justified

    I read all possible questions/response on stackoverflow, but i still can't do what i would like. I created an application to show News 1. Used**Thoolika.ttf** Unicode font. 2.Now I am using **AnjaliOldLipi.ttf** font 3.Older data was…
    Asha Soman
    • 35
    • 1
    • 5
    1
    vote
    2 answers

    TextBox.Text Doesn't Right Justify

    According to my understanding, the code below should right-justify the text if the text is longer than the textbox can show, otherwise it keeps it left-justified. The problem is that it doesn't actually do this and it's acting really odd. Short…
    Kashif
    • 865
    • 2
    • 12
    • 33
    1
    vote
    2 answers

    Justify single line of text not working

    I need to Justify single line text and I had this issue in past and resolved it with the help of solution on Stack Overflow website I can't justify single line text using CSS in asp.net Now i have to do a similar thing which is not work i have put…
    Learning
    • 19,469
    • 39
    • 180
    • 373
    0
    votes
    1 answer

    Drawing a string with full justified in .NET

    I need to sraw a string to a bitmap with full justified. I know that StringFormat.Alignment doesn't support full justified alignment. So, I'm looking for a solution to draw a string on a bitmap with full-justify. RictTextBox has full justify but I…
    oruchreis
    • 866
    • 2
    • 12
    • 28