962 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
1
answer
66
views
Why does `line-height:1` cause overflow in this CSS grid?
I'm a little new to CSS grid stuff, so forgive me if this is obvious, but I haven't found a good explanation for this so far.
In my mind, line-height:1 basically means "use the normal value."...
0
votes
1
answer
97
views
Flutter TextField with trailing button: text gets cropped or misaligned when overlaying arrow button
I’m building a pill-shaped email input in Flutter with an arrow button on the right side (like the screenshot below).
The design requires the arrow to overlay inside the border, not outside.
I need ...
2
votes
1
answer
104
views
Have long text scroll to the right when using JTextField .setText()
I have a JTextField for displaying the path of a selected folder. It's intentionally disabled (as the folder is supposed to be chosen with a JFileChooser), and when the program starts, a default ...
0
votes
0
answers
75
views
How can I display Quranic text (word-by-word) with accurate formatting in Flutter?
I'm building a Quran app using Flutter, and I'm using word-by-word data taken from the Tarteel project.
The problem is that I can't get the words to align correctly or resemble the structure of a real ...
2
votes
4
answers
237
views
How to align two string's offset given a list of substrings offsets?
Given a and b relating to a list of substrings in c:
a = "how are you ?"
b = "wie gehst's es dir?"
c = [
("how", "wie"),
("are", "gehst's&...
-3
votes
3
answers
130
views
C++17: Alignment of a second column of text
I have seen several similar questions, but haven't found any that quite answers what I need, and most of these use std::cout along with iomanip
I'm using libfmt (although a c++20 answer would likely ...
2
votes
1
answer
103
views
How to put justified paragraph alignment in Java
A quick help here, I was reading the library's manual but couldn't find any help.
I have the below code where I used the alignment BOTH in order to achieve the justified alignemnt that Word has, but ...
user avatar
user5028394
1
vote
1
answer
583
views
How to center text vertically in tabular cells using Beamer?
The text is bottom-aligned in tabular cells using the Beamer class.
I've tried solutions from answers to previous questions, but none works for me.
They include using multicolumn, multirow, parbox, ...
0
votes
1
answer
97
views
"How to Center Text in the Middle of a Black Overlay in SwiftUI?"
I'm having trouble positioning text in the center of a black overlay in SwiftUI. I want the white text to be aligned in the middle of the black box where I marked with a red line in the image below. ...
0
votes
3
answers
89
views
Align to right for h1 element to right not working
I can not get the title h1 element to be aligned to the right-side of page.
html,
body {
height: 100%;
margin: 0;
font-family: Arial, sans-serif;
}
body {
display: flex;
flex-direction: ...
user avatar
user25540168
1
vote
1
answer
35
views
Can't get text centered horizontaly in quadrants
I am practising Kotlin with Android Developer and got stuck with Compose quardant project. Everything is working an looks just like it is supposed to except for some of texts. The screen is devided to ...
-1
votes
3
answers
89
views
unresponsive container flexbox not reaching height of 100 % and width of 50n %
I have problems not being able to make a container display a height of 100% and a width of 50% on tmy screen despite my CSS already mentioning those specified measurements in the appropriate div ...
1
vote
0
answers
145
views
Waterman-Smith-Beyer implementation in Python
I am working on a text aligner to help me get a better understanding of specific steps necessary to perform sequence alignment. So far, things have been going great but I noticed yesterday that my ...
0
votes
1
answer
379
views
Using the forestploter R package, how can I specify the alignment of a specific column in a forest plot?
I have the following sample data and would like to left align all columns with text except for the column with "Direction of effect size from other study".
df <- tibble(Outcome="CAD&...
1
vote
1
answer
61
views
Multi-line Banner Text Not Aligning to the Left Equally [duplicate]
I'm having trouble aligning the text content equally on a ribbon banner to the left side.
Codepen
The issues I'm hoping to fix:
The first line of text seems to be slightly more indented on the left ...