Questions tagged [width]
The property which determines the size of an object on the X-axis. The most common form of this measurement is in pixels or millimeters.
5,669
questions
0
votes
0answers
9 views
how to track height and width of browser at development?
I want to know, what is my browser width when I resize the window in realtime?
any tools for that?
How to measure the height and width of the browser window?
-1
votes
1answer
34 views
C# Windows Forms ListView get columns real width after autoresize by width = -1?
I've come through some auto column (ColumnHeader) widths on WinForms ListView control.
Width = -1 sets auto-width based on content width and -2 sets based on header and content.
However I cannot find ...
0
votes
1answer
11 views
I am trying to Reduce check box width in grid but unable to reduce
I am trying to Reduce check box width in grid but unable to reduce
1
vote
1answer
51 views
How do I get the width and height from a tab control?
I have a tab control where I'd like to get its width and height to create a window that fills this area.
But I don't quite get how to get this width and height. From what I found, the value get from ...
0
votes
0answers
10 views
How to set component width to a fixed pixel value using React?
I am new to front end programming and recently started learning React programming. I got a component from here and playing with customizing to my requirements. I am new to CSS too so it is not simple ...
0
votes
1answer
13 views
Progress Bar Sizing
I am attempting to size the progress bar to be 300px x 300px but it keeps cutting off the top of the circle and the text at the bottom.
It should look like this:
But it looks like this after my code:
...
3
votes
2answers
109 views
How to reliably determine the width of a character in C#?
I'm writing a C# program and I'm using a fixed-width font to display everything. Under this font, every Unicode character either occupies 1 character width or 2 character width. In the program, there ...
0
votes
3answers
26 views
javascript - get width of element without knowing the ID [duplicate]
I have the following code:
<div>
<script>
// get the width of the parent element
</script>
</div>
it is possibile to get the width (and the height) of the parent element where ...
0
votes
0answers
6 views
Dynamic width after click on horizontal scroll
I work on a portfolio website with a horizontal scroll and I'm stuck with 2 issues.
The first one, is on this page : http://dev.bklt.fr/ggr/index.html
So I have a width for my scroll container, and I ...
0
votes
0answers
9 views
max-width of inner container not resizing in smaller viewport size
I have a parent div which contains a child div. The parent div is meant to take up 100% of the viewport width, with the child div having a max-width of 850px (centered inside the parent div).
For some ...
2
votes
2answers
57 views
how to make CSS width property equal to the result of a mathematical expression [duplicate]
I'm trying to make the width property equal to (100/3)% because I am trying to divide the width evenly amongst 3 columns. But obviously this is not valid css. What is the proper way to accomplish this?...
0
votes
0answers
30 views
Why does flex-basis doesn't work with flex-direction: row? [duplicate]
I faced that issue when I tried to replace width by flex-basis. For example:
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.parent_1, .parent_2 {
display: flex;
border: 5px solid ...
0
votes
0answers
21 views
When Shrinking size of window I need to use media query to have text fill across the page to be more readable if that is possible
As shown by the arrows the text and image need to expand as I'm shrinking for better readability.
I tried using
@media only screen and (max-width: 1400px) {
#container {
width: 100%;
}
....
1
vote
1answer
34 views
Displaying Segmented Picker at Intrinsic Size in SwiftUI
In SwiftUI, a Picker of style SegmentedPickerStyle occupies the full width of its enclosing view. How can I instead have it occupy only the width it requires?
Consider this:
which is generated by the ...
0
votes
0answers
28 views
JEditorPane and content width
I have some code where I take some text in html format, put it in a JEditorPane and create an image from it, as below:
String text = getMyText();
int height = getContentHeight(text);
int width = 850;
...