Questions tagged [font-size]
A CSS property which sets the size of a font, as specified in one of several different units.
2,591
questions
0
votes
1
answer
16
views
increasing font size of ticks
i have a simple x,y plot that i want to increase the font of of ticks on x and y axes, so that they match the font size of x,y labels - fontsize=30. i also need to change the spacing on both axes so ...
2
votes
1
answer
34
views
How to align text of Tkinter ttk widgets to the top? Resp. how to prevent the text from moving after rescaling?
Everytime I rescale my window, the text starts to "move to the bottom" of the widget. How can I stop this behaviour? Here are 2 screenshots:
This is how it is not supposed to look like:
I ...
1
vote
0
answers
32
views
Why do the words of my <h1> tag appear on top of each other despite responsive css setting?
I made this web app which seems to be functioning fine when I check its responsiveness in Chrome's Devtools Responsive modus (see photo 1), but when I open the site on a phone, the words of one of the ...
0
votes
0
answers
43
views
How to change the font size in php?
I'm trying to change the font size of the price including tax, not just the suffix 'incl. btw'. Is it possible to do that?
add_filter( 'woocommerce_get_price_suffix', '...
0
votes
0
answers
65
views
Font Family and Font Size Combo Box Coding Bugs
it's been a while since I posted. Haven't had much time for programming for a while. Just got back into it a couple of days ago. I'm working on a personal project which is a kind of Project Manager ...
0
votes
1
answer
29
views
How to set base font size for my npm package
I have 2 main projects, one project is using base font size as 14px and another one is using base font size as 10px. I am using tailwind css inside both main projects. So if I use text-base, text-sm ...
0
votes
1
answer
39
views
How to add a small image on right side of text whatever font size it is?
I'm trying to achieve this on iOS using Swift and storyboards:
Notice that the image size on the right never changes, only the text font size changes depending on the user's default font size. I want ...
0
votes
1
answer
43
views
iOS Swift: How to make UILabel font size static (disregard of iOS setting font size change)?
How to make UILabel font size static (disregard of iOS setting font size change)?
That is to say, when user set their font size to be larger in their iPhone's accessibility font size, or change the ...
0
votes
0
answers
16
views
is there a flutter that returns the font size (large/medium/small) on an android/iOS device?
I know that Java in Android Studio has a function:
Configuration configuration = getResources().getConfiguration();
configuration.fontScale=(float) 1; //0.85 small size, 1 regular size, 1.15 large, ...
0
votes
1
answer
54
views
When I change the font size, it changes the margin/padding
I am currently coding a front page for my website. I'd like all the text to be inline with each other, but when I increase the font size of one, it adds a padding or margin around it, moving it a ...
0
votes
0
answers
34
views
How is the height of an inline text element calculated when the browser zoom changes?
So the actual height of an inline text element is not simply the font-size value, but is determined by the individual font's metrics, as explained in this answer (see also this article).
So for the ...
0
votes
0
answers
21
views
Input autofill font-size in newest chromium version (above 95)
I'm interested in possibility for changing font-family and font-size for input autofill.
There was some methods in oldest chrome version, but unfortunately this possibility was removed since 95 ...
-1
votes
0
answers
58
views
R plotly: Adjust the legend symbol size
How can the legend symbol size be changed in plotly?
I have tried numerous properties within plot_ly() main function and layout(), but nothing has worked so far:
ggplot2 equivalent for what I need ...
0
votes
2
answers
40
views
How do I Increase the Font Size of TextView in Android Studio?
How do I increase the Font in textView on Android studio? I can set the font style but I can't find the attributes to increase the Font Size
0
votes
0
answers
35
views
Serious browser bug on Android? Unwanted, intermittent div text font change with Chrome, Firefox (with animated demo)
I experienced this issue several times when a div in a page contained a bigger chunk of text.
When a div reaches the length of about 140-150 then the div's font size can surprisingly enlarge.
This ...
0
votes
3
answers
68
views
How to change the font size of mat-step's label?
Can't seem to change it using style= and css. Also here is my attached code
<div class="statusbar">
<mat-horizontal-stepper linear >
<mat-step label="One&...
0
votes
1
answer
22
views
Label font size in PredictorEffects plot in R
I am plotting an ordinal regression plot with the PredictorEffects function, where I need to increase the font size of my labels. I was using cex function to do the same, but I cannot change the font ...
0
votes
0
answers
30
views
For Accessibility: How to achieve a consistent and scalable font size across browsers?
Goal
My goal is to make our WebApp more accessible to dynamic font sizes. Especially for accessibility reasons, where people set bigger font sizes.
Context / Progress so far:
The WebApp is used on ...
0
votes
1
answer
28
views
the font size on the receipt is different when printing using different types of smartphones
I'm having problems where every time I print receipts on various devices the font size will be different and sometimes the receipt can't load all the content according to what has been set. here I ...
0
votes
0
answers
34
views
How to stop phone's default font size from influencing font size inside the Flutter app?
So I made a Flutter app. I defined all the font sizes to be dynamic (render properly as per the screen sizes).
Everything was working great until I opened the application on a phone which was using a ...
0
votes
0
answers
26
views
tried everything, but cant find a way to change the font size of QTableView, how do i do this?
how do i change the font size in the dataframe table and possibly align the values in the table 'center'????
i've searched all over and tried many of the examples/suggestions and theyve not worked.
ok ...
0
votes
3
answers
58
views
Override bootstrap font size
I am using Bootstrap v5.0.2 but I need to override the font size to some custom value.
In the html I am using <a href="#" class="btn btn-outline-danger">Click</a>
This ...
2
votes
1
answer
83
views
Change the entire font name of all dialogs (part 2) [duplicate]
Based on this post,
Change the entire font style of all dialogs
How to change the font text of the entire installer in Graphical Installer?
When you create the installer using this tool, it creates ...
0
votes
0
answers
13
views
How to change MySQL Workbench interface menu font size?
is there any way to change MySQL Workbench interface font size?
not editor fonts. 8.0 CE.mysql workbench
0
votes
0
answers
17
views
Latex \large use in matplotlib
How can I increase the size of \bullet and \blacktriangledown in matplotlib plot for additional text in the legend? I have
import matplotlib.pyplot as plt
import numpy as np
from matplotlib.pyplot ...
0
votes
0
answers
61
views
how to calculate character height and width when using font-size-adjust in css?
I tried to figure out how to calculate the height and width of a character if I use not only numbers but also keywords as values, which changes the format standards of the characters.
I understood ...
0
votes
0
answers
34
views
How can I preload a web font?
I've been trying to preload my website fonts and lighthouse keeps telling me this "Lighthouse was unable to automatically check the font-display value for the origin https://www.financialoptions....
0
votes
1
answer
32
views
Why is my menu icon displayed very small in the Chrome app?
I created a basic mobile responsive header with a hamburger menu icon.
Problem: In the Chrome app on phone 2, my icon is shown very small, meanwhile, on all the other apps and devices it is displayed ...
0
votes
0
answers
58
views
VS 2022 Change font sizes on various UI elements - description of windows, panes and parts thereof
So I know that I can change the various UI elements on VS2022 by using Tools>Options>Environment>Fonts and Colors, which is great and I've managed to increase the font size of some options, ...
-1
votes
1
answer
38
views
Why is my font size not adjusting with vanilla js?
I have this little code here and by the console logs I can see it is apparently changed but on the display it is not changing. What could be going wrong ?
JS vanilla below
const gameItem = document....
0
votes
0
answers
20
views
How to setup more granular font change when using Cmd/Ctrl + scroll wheel in IntelliJ products?
Right now the jumps between fonts are huge. It is either too small or too big.
In Qt based apps e.g. in Kate you can change font size with your mouse wheel very precisely in small steps, it almost ...
1
vote
0
answers
44
views
TextField populate from the browser with incorrect font size
I have a simple page, user text field and password, with font size of 30 (for the question only for the user field).
For some reason, when the browser (chrome) populate the field it's render with ...
0
votes
0
answers
21
views
Adaptive Font Size function using material UI elements
as a exercise for school, I want to scale-down the font Size of an H4 element inside a Grid and Typography Tag, here is the code:
const CompanyDetails: React.FC<Props> = (props) => {
const {...
0
votes
1
answer
62
views
Font size of option in select doesn't change when I change font size of my android device
I have this form in my react-native app and when the font-size of a device is not default, the font-size of an input text and a select option looks different.
enter image description here
How to fix ...
2
votes
2
answers
59
views
Decrement font-size on condition, why is my recursive function not working?
I have a <p> element inside a parent <div> container. The parent container is sized with width and height as a % of the viewport. Upon window-resize, I want to decrement the font-size of &...
0
votes
1
answer
33
views
Change font size of main on barplot r
I've got this barplot in r and the title which is supplied to main is too long. I can change the cex of the axis and labels but I can't find how to change the font of main
b <- barplot(table(FAQ[[...
0
votes
1
answer
52
views
Breakpoint and Font Size Confusion [duplicate]
I am working on a Media Query element of my portfolio where the breakpoint's conversion is leading to different font sizes. For example -
if the breakpoint is 1200px then the em would be 75. so why ...
0
votes
1
answer
58
views
How can I increase the size of the displayed text using a library like Allegro? C
How can I change the size of the displayed font to display the following entry:
al_draw_textf(font, al_map_rgb(204, 255, 255), WIDTH / 2, 50,\
ALLEGRO_ALIGN_CENTER, "%d : %d", ...
1
vote
0
answers
170
views
How to change the default font size in plotly?
I generally would like to have large font sizes in plotly figures.
Is there a way to do that globally with themes? And how can I do that for a single figure after creating it e.g. with
fig = px....
1
vote
0
answers
19
views
Oxygen font with uneven S char when font size: 12px
I'm trying to use the Oxygen font on a website with size: 12px.
This is the font:
https://fonts.google.com/specimen/Oxygen?preview.text=THIS%20IS%20A%20TEXT%20WITH%20UNEVEN%20S%20CHARS%20ON%20%...
1
vote
0
answers
21
views
CSS/JS: Get browsers default font size by API and not
I have an angular component that will be used in two diffrent applications.
In one application, there will be a html-font size of 100% (16px as default but changing with the browsers default font size ...
0
votes
1
answer
43
views
materializecss google apps responsive mobile font size
I have written a google web app using materializecss. All works well on a laptop. I have designed it to be responsive, testing by reducing the width of the browser on my laptop and again, it workds ...
0
votes
1
answer
166
views
Change the fontsize of x/yticks in all subplots with same labels
I'm trying to make the font size of the x/yticks of each subplot larger. I've tried using
ax.set_xticklabels(xlabels, Fontsize= )
but I don't want to specify new labels. I want the same ones that were ...
0
votes
0
answers
18
views
Webview thinks screen is wider than it is
I have a webview for loading web pages. It works great, except for the fact that the fonts look much larger.
The font-sizes in the webpage are in vmin units. And the webview is reporting the very same ...
0
votes
0
answers
43
views
How to preserve font size of plots during report generation in MATLAB?
Is there a way to preserve font size in plots when using report generation?
I update the fontsize of figures to 14 before making a report but the following instructions in Matlab during reporting ...
0
votes
1
answer
121
views
How to set Font size to fit a specific width of the frame in tkinter
actually I am making a project with the help of tkinter in python so basically I want to shrink my font size of a label according to the width of the frame that it will be put in. I want that just i ...
0
votes
0
answers
43
views
Calculate how much text to render based on height and font styles
I am trying to render a novel and I want to add snap based navigation other then scroll.
This is a little tricky as the text should be rendered and fit the screen for each view. I have no idea how to ...
1
vote
0
answers
72
views
How to adapt font size to variable div size with CSS only
There is a similar question
Is it possible to adapt font size to div width with CSS? which has a misleading title because it turns out in their example their div size depends on the viewport size, so ...
1
vote
2
answers
130
views
Change fontsizes of characters in alluvial Plot
I'm trying to fix this issue for quite some time now and no code seems to work here. I'm not that experienced in R, so maybe my problem is easy to fix. The following code shall present an Alluvial ...
1
vote
1
answer
35
views
Why does line-height behave strange with universal selector?
As I know in css we set line-height as integer because if we change font size in child elements then it recalculate appropriate value. This works fine except with universal selector because if I set ...