Strikethrough (or strikeout) is a typographic text decoration used to indicate cancelled words or sentences. A strikethrough consists of a horizontal line crossing text through the center.
Questions tagged [strikethrough]
183 questions
3
votes
2 answers
CSS: Strike-through not centered through the text
We are using strike-through to actually show oldprice vs new price for a product.
If you open this link, at the bottom of the page, we have a product on sale.
http://www.gkelite.com/Gymnastics-Shopby-GiftoftheWeek
The strike-through for the old…
![](../../users/profiles/751844.webp)
amit thakkar
- 175
- 3
- 10
3
votes
2 answers
CoreText and strikethrough on iPhone
I'm currently struggling with the need to display strikethrough text in many UITableViewCells. Something that written in HTML would looke like
€99 save 50% => now €49
I don't want to use a UIWebView just for a single line of text,…
![](../../users/profiles/526547.webp)
Cyrille
- 24,430
- 12
- 61
- 87
3
votes
0 answers
Extract connected/neighboring regions in an image via a specific input colored pixel
I have an image -
I would like to get an output image that just has the highlighted red portions.
Output image -
How would I do this ?
What I am trying to do is isolate underline/strikethrough text decorations so that I can extract the text along…
![](../../users/profiles/4589310.webp)
skyfail
- 384
- 1
- 4
- 17
3
votes
2 answers
Strike through any item in a list created using material ui and Reactjs
I am trying to strike through a list item once a user has clicked on that particular item.
I have created a function to conduct the style change
const completed = () =>{
return…
![](../../users/profiles/9845132.webp)
George Silva
- 355
- 2
- 9
3
votes
3 answers
How to strikethrough text of a selected row(having checkbox in first column) of JTable?
I have a Jtable with a checkbox in first column. I want to strikethrough text of a row when the checkbox is selected. (eg same as we do in microsoft outlook when our task is complete.) I have tried using AttributeString, but not able to do it.
Can…
![](../../users/profiles/646023.webp)
bsm
- 1,603
- 11
- 28
- 40
3
votes
2 answers
Import excel file in python and identify cells of which the content is strikethrough
I want to read in many Excel documents and I would like to receive at least one important bit of information on the format. However, I am afraid that there is no tool for it, so my hope is on you!
Each excel file that I am reading in contains a few…
![](../../users/profiles/6310237.webp)
Student NL
- 303
- 2
- 13
3
votes
5 answers
Swift: strikethroughStyle For Label (Middle Delete Line For Label)
How to add strikethroughStyle for label. A middle delete line to a number in UILabel. Check the attach image for reference.
![](../../users/profiles/2687876.webp)
james
- 615
- 4
- 24
3
votes
1 answer
Code isn't calculating decimal places
I'm trying to make a VBA module to sum cells excluding cells with a strikethrough. The code I'm using below works great, but will not calculate decimals. For instance, '5 + 5.50' will equal 10.00 I want to the code to keep decimals values up to two…
![](../../users/profiles/3026842.webp)
arbitel
- 321
- 6
- 22
3
votes
2 answers
Converting rtf to html with format in Java
I can use JEditorPane to parse the rtf text and convert it to html. But the html output is missing some format, namely the strike-through markups in this case. As you can see in the output, underline text was correctly wrapped within but there…
![](../../users/profiles/3416451.webp)
dcc
- 31
- 1
- 2
3
votes
2 answers
wxPython RichTextCtrl with strikethrough
I want to set text with strike-through in RichTextCtrl of wxPython. But could not find any method like BeginStrikethrough or SetStrikethrough.
Is it possible to apply strike-through in RichTextCtrl? How?
EDIT 1:
Font with strike-through flag used…
![](../../users/profiles/1826962.webp)
arvinchhi
- 477
- 3
- 13
3
votes
3 answers
Is it possible to do this "half strikethrough" using CSS (without using images)
I'm doing a site without using any images, to make it responsive and faster, only CSS(3).
I'm trying to do the following effect using CSS
I used to do this using
Ou
and the CSS (using…![](../../users/profiles/647380.webp)
pocesar
- 6,379
- 6
- 49
- 83
3
votes
2 answers
Strikethrough for entire row in jtable
I have a JTable that takes their value over a mysql data base. I made several customcolumn renderers in order the JTable to show the data formated as I need them. What I need now is to add some strikethrough over some rows depending if the value on…
![](../../users/profiles/1249399.webp)
Vagelism
- 601
- 1
- 13
- 27
2
votes
1 answer
How to apply strikethrough() to a tapped foreach Text item in SwiftUI?
I'm trying to apply a strikethrough to any tapped Text items in a ForEach loop:
struct BrandListView: View {
@ObservedObject var list: ListObject
var body: some View {
ScrollView {
VStack…
![](../../users/profiles/13293344.webp)
Super Noob
- 380
- 2
- 12
2
votes
2 answers
How to strike specific text in Spinner android?
I want to strike specific text in Spinner, My code look like below code
packSpinner = findViewById(R.id.packSpinner);
String spinnerArray[] = new String[10];
for(int i=0; i<8; i++){
spinnerArray[i] = packArray[i] + mrpArray[i] +…
![](../../users/profiles/14240287.webp)
Gaurav Sharma
- 35
- 2
2
votes
2 answers
How to add custom Strikethrough to Text Widget in Flutter
I am looking for a way to add a custom strikethrough to a text widget like below
I looked at the Text Style API, but couldn't find any option to customize the Strikethrough graphic.
style: TextStyle(decoration: TextDecoration.lineThrough),
![](../../users/profiles/2733554.webp)
user2733554
- 107
- 1
- 6