Questions tagged [window-width]
The window-width tag has no usage guidance.
window-width
7
questions
1
vote
0
answers
12
views
How to modify based on JqxSplitter window width in React?
import React, { useEffect, useRef } from 'react';
import * as ISO from 'src/framework/layout/LayerComponents';
import ISOInput from 'src/framework/components/controls/ISOInput';
import ISOGrid from '...
2
votes
2
answers
2k
views
I want to change style according to window width using states
style={window.innerWidth<='750 px' ?{myStyle}:{}}
can anyone help me in this?
I want to set the style according to window width.
myStyle is a state.
0
votes
1
answer
253
views
Android. What is default alert dialog width
I use DialogFragment and Inside onCreateDialog return AlertDialog. In different devices my dialog width is different. What is default dialog width ? I don't understand what is default dialog window ...
0
votes
0
answers
150
views
How is it possible that window.innerWidth does NOT return a correct value?
Let me describe the very strange issue I encountered.
Browsing with Chrome 97, the javascript command window.innerWidth always sends me back the same value 1920 but on a given website on which it ...
0
votes
2
answers
2k
views
Responsive Variable for Browser Window Width [JavaScript]
I'm trying to have a variable that constantly updates whenever the browser window is resized in terms of width (in pixels). I do not want the page to have to refresh for the variable to change, but ...
0
votes
1
answer
117
views
justifiedGallery : Trying to change image path when screen <800px
My Justified Gallery is very slow to load on smartphone,
so I would like to change the image path when screen is < 800px. The new path has smaller images (h350 instead of h450).
I've been trying ...
0
votes
0
answers
128
views
Is it possible to detect text-width with pure css?
I would like to know how much percent width a sentence (in relation to window width) have.
Example:
Given:
Sentence with 20 letters including white space
Font Arial, font-size 20px
Wanted:
Width of ...