Questions tagged [baseline]
243 questions
7
votes
3 answers
Align text baseline with text inside a column, using Flutter
I'm having trouble aligning widgets. I have seen questions on here asking about similar things, however, none of them seem to work for my specific task. I'm trying to create a widget containing an icon and two text widgets. The icon is supposed to…

TheEggHealer
- 183
- 1
- 1
- 7
7
votes
5 answers
Different line-height and baseline on mobile and desktops
This is the third time I have faced this problem.
I don't know what is wrong.
Here are two pictures of how it looks like:
On desktops:
On mobile devices:
As you can see on mobile devices text is not aligned center vertically.
Again this problem…
user6036548
6
votes
3 answers
Image Offset (2D Baseline) Remove in Matlab
I have an image similar to this one:
and want to remove its underlying baseline so that it looks like:
The image is always different, usually has some peaks and has a total absolute offset and a base surface that is tilted/curved/nonlinear.
I was…

nolimits
- 43
- 1
- 3
- 16
6
votes
0 answers
2d baseline removal from edges of image
I have an image, say for example
z=double(rgb2gray(imread('onion.png')));
z=z./max(z(:));
imagesc(z)
However, ~10 pixels from all sides I get a different baseline that I'd like to remove. The baseline is probably because of gain artifact of the…

bla
- 25,846
- 10
- 70
- 101
6
votes
2 answers
Can we set performance test case baseline programmatically in xcode?
I have written some performance test cases using XCTest framework in my project.
I was wondering is it possible to set baseline value for performance testing programmatically before the first run or is there any other way to set the baseline except…

CastleErised14
- 106
- 5
6
votes
2 answers
Using GDI+, what's the easiest approach to align text (drawn in several different fonts) along a common baseline?
My problem:
I'm currently working on a custom user control which displays pieces of text (each with a potentially different font) on one line. I'd like to align all those bits of text exactly along a common baseline. For example:
Hello, I am …

stakx - no longer contributing
- 83,039
- 20
- 168
- 268
6
votes
0 answers
Text Baseline with Android Canvas (hanging, ideographic)
I'm looking for a way to implement some base line features using androids canvas.
Using functions like ascent and descent of the Paint object I've managed to implement most of the base lines but I don't know how the 'hanging' and 'ideographic' base…

user1581048
- 107
- 5
5
votes
3 answers
TextBaseline's alphabetic and ideographic enums do not work in Flutter
I thought I understand how these enums work based on this post. When I tried it using the following code, it does not seem to work.
Row(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.baseline,
…

user1506104
- 6,554
- 4
- 71
- 89
5
votes
2 answers
x86 microarchitecture/SIMD market share
Where can I find data about "market share" of x86 microarchitectures? What percentage of users of x86-family CPUs have a CPU that supports SSE4.2, AVX, AVX2, etc.?
I'm distributing precompiled binaries for my program, and I would like to know what…

Kornel
- 97,764
- 37
- 219
- 309
5
votes
1 answer
What is a component's baseline in Java
Very simple question:
What is a component's baseline in Java?
The documentation does not provide an answer as to what the "baseline" is, just describes its use by LayoutManagers. Yes, the answer is probably straightforward, but I don't want to play…

Max K
- 656
- 1
- 6
- 22
5
votes
1 answer
How to compute the baseline of text
I am trying to write a test to work out whether the text rendered inside an has the same baseline as a label:
In order to do this, I would like to compute the baseline of the text that has been rendered in each element and compare the two…

Tom Fenech
- 72,334
- 12
- 107
- 141
5
votes
1 answer
Is there a way to programmatically retrieve a dependency in gradle
The use case is baselineing an osgi bundle.
I would like to retrieve from configured repositories the specified release (or the latest release) of a specified artifact (the one currently just built) such that I can use the jar file in a baseline…

Ray
- 1,324
- 10
- 18
5
votes
2 answers
Precipitation plot, or mirrored histogram based on top axis
I like to plot simple time series data and overplot precipitation data. The following code plots a line for the usual data and adds barplots (or histogram bars) for the precipitation data.
D # a simple (zoo) time series
P # a simple (zoo) time…

Martin
- 1,395
- 1
- 11
- 33
4
votes
1 answer
What is the difference between Full baseline and Incremental baseline in Clearcase UCM?
I have applied full baseline for my release. for ex. Baseline "MYProj_2.0.0.20".
Then testing team found some major issue. To fix that development team has delivered few changes.
After completing the build , I have applied the same baseline again…

Samselvaprabu
- 16,830
- 32
- 144
- 230
4
votes
1 answer
Baseline Alignment of Input and Labels in CSS Grid
I'm trying to build a form using a CSS grid layout. Labels appear in the left column and inputs in the right. The align-items property is set to baseline. In Chrome, the text of the labels and inputs are vertically aligned on their baseline. But in…

kaerimasu
- 690
- 3
- 17