6,080
questions
0
votes
1
answer
25
views
Flutter AlertDialog Container minimum width size controll
Hello mates
i was making instagram colon app with flutter and i wanted to making this pop up page but when i tried to make container size less than 100, it wasn't work and i couldn't find the way can ...
0
votes
1
answer
34
views
Get PythonTkinter width of string in pixels using given font
Given a string such as "this is a string" or "THIS IS A STRING" and knowing the font family and size, how can the pixel width be calculated?
This is required to align columns for ...
0
votes
0
answers
43
views
Why `geom_arc_bar()` width is not uniform ? How to make it the same width everywhere?
From this dataset:
data <- data.frame("type" = c("low_carbon", "high_carbon"),
"start" = c(0, 0.7 * pi),
"...
0
votes
2
answers
45
views
How to get WooCommerce shop page to show full width
I'm struggling to get my WooCommerce shop page full size (or at least wider than default). I've tried all sorts of CSS codes from other posts, but they either also change my other pages, or don't do ...
0
votes
0
answers
26
views
Does TailwindCSS support ch units of measurement?
New to Tailwind and re-writing a site but in my Styled Components file I'm declaring a ch unit of 50, example:
const Foobar = styled.div`
max-width: 50ch;
`
when researching the documentation I don'...
0
votes
1
answer
77
views
HTML body does not obey the width or height
I am doing my own portfolio site using HTML and CSS, so far so good. All the other pages are responsive and looking good, but there is one page that for some reason the HTML body does not obey the ...
-1
votes
1
answer
34
views
How to make a flexbox container auto-width and centered with buttons aligned next to each other?
Im using the following code, but the container is still full width
I'd like it to adapt to the width of its contents
.cta-primary {
display: flex;
justify-content: center;
align-items: ...
0
votes
2
answers
24
views
Can't seem to centre page on mobile browser load up, automatically corrects itself to where I want it after scroll. html/css related
How the website loads on mobile
After a scroll the sections jumps to the desired loading location
So, I'm trying to centre a section with a heading, paragraph & button on a welcome page. My code ...
-1
votes
2
answers
31
views
Quarto 20:60:20 html layout on multiple screens
I am unable to achieve a reasonable layout of quarto html output. On wide screens there are 2 extra spaces left/right on top of standard sidebar / margin, and I am loosing TOC when playing with column-...
0
votes
0
answers
16
views
How to set the width of MUI TextField to match special number of characters?
I have multiple MUI TextField objects in a from. I have defined different max length for each TextField. I know that "width" property of TextField sets the width of input box, but how can I ...
0
votes
0
answers
21
views
Distorted layout for videos on iOS with every browser
As you can check in the screenshot, the video has a random issue that not always appears (actually is from time to time) that make the video element smaller than it should (it must take the whole page)...
0
votes
0
answers
22
views
Does libpng have an upper limit on image width?
I am converting large raw data to image files using Ubuntu Linux. Works fine up to and including 1,000,000 pixels wide. Over this, eg 1,000,001, I get an error:
libpng warning: Image width exceeds ...
0
votes
0
answers
28
views
Solution to horizontally expand MudTabs on a Mobile device
so starting off I basically need a way to re-adjust the MudTabs from the code below so it can fit the entire horizontal space of the screen and on top of that it has to adjust to the resolutions of a ...
0
votes
0
answers
43
views
How to scale an image on hover without messing with other elements, while also respecting max-width, using only CSS?
I'm trying to add zoom on hover to some images. The entire images should be viewable while zoomed in.
First I tried classic scale transformation, but it doesn't work well with smaller devices like ...
0
votes
0
answers
46
views
fit-content doesn't work on ::before element?
::before pseudo-element on a span is wrapping itself.
span {
position: relative;
font-size: 1rem;
}
.float-left {
display: block;
}
.float-left::before {
content: "Float: Left --&...
0
votes
0
answers
16
views
Navigation bar won't fit entirely on the screen
navigation bar problem
I'm having trouble regarding my navigation bar because it won't fit entirely on my screen when i'm decreasing the screen width when inspecting. What should I do?
I already tried ...
0
votes
2
answers
29
views
How to get the *rendered* width of element with javascript/jquery? All methods tried yielded only intrinsic width
I have a slider with a html like this
<div id="bilder"> | height: 70vh;
<div id="pappediv"> | height: 100%;
<div id="slider&...
0
votes
1
answer
54
views
PyQtGraph: Retrieve size of GLTextItem
I'm using pyqtgraph to plot radar data (in 2D and 3D) using a GLViewWidget. Adding and visualizing the data in 2D and 3D works well.
I also added text labels using GLTextItem, but they are a bit ...
1
vote
1
answer
45
views
Get the width of a custom control from within its own class, in .NET MAUI 8?
How do I get the width of a custom control from within its own class?
I'm creating a custom RangeSlider with a track, an overlapping range and two thumbs to change the range. In XAML, I am able to get ...
0
votes
1
answer
41
views
Flutter set Smallest Width DP
I want my app to have the same look and feel with regards to the font sizes and space occupied by my widgets. Currently, in different phones with different smallest width and varying DP, the font ...
0
votes
1
answer
20
views
Change background on hover
I want the whole of the background to change on hover. At the moment the width of change in color hugs the width of the original text plus padding and not the whole width of the submemu.
I tried the ...
0
votes
0
answers
12
views
Dropdown Item - Change Colour On Hover - Of Variable Width Container
I have a dropdown navigation menu - but the widths of each dropdown-content are different depending on the length of words in each item. I want to fill the full width of each item on hover with a ...
0
votes
3
answers
52
views
How can i fix my CSS so that width accounts for both padding and border?
To put it simply, i want my sidebar here to be 20% of the width of the page, while the article itself is 80%. Because of the padding in my different sections, the width is offset, meaning i have to ...
0
votes
0
answers
41
views
Trying to make a dynamic horizontal navigation bar where nav items "overflow" into a "more" dropdown when those nav items would normally wrap
I'm trying to make a vanilla javascript driven dynamic horizontal navigation bar where the individual nav items "overflow" into and out of a "more" dropdown nav item when those ...
-1
votes
2
answers
44
views
Shuttle theme full width
I want the part of "RENT A CAR DONI" on https://liridonigraphics.com/, the red background to be full width but the theme has any option that is not letting it done. Can you help me how to ...
0
votes
1
answer
161
views
Dynamically set column width on page in Business Central
For some background, I'm a junior Business Central AL developer with not much experience. I am hoping to find some help with the syntax of what I'm trying to accomplish.
Situation:
I have several ...
0
votes
2
answers
42
views
width: inherit/100% of a child
I want to put a side bar on top of an image, with the same width as the image. Neither width: inherit|100% work.
CSS
body {
display: flex;
}
#main-pic {
...
0
votes
0
answers
18
views
the calculate space around the div is not right with the metric where i have learned [duplicate]
four div with width 125 px without margin and padding physical align in a div with width 500 px without margin and padding but i can do this with margin -2px in small box else with the code over ...
-1
votes
2
answers
252
views
How can I set the width of a Bootstrap 4 toast?
I have a page with a Bootstrap 4 toast where I set the toast's postion as postion: fixed. The whole toast part looks like this:
<div class="container mt-5">
<button type="...
0
votes
2
answers
95
views
Chart.js: Is there a way to have a chart with fixed height and variable width based on the number legend's items
I would like to know if there is a way to make the chart's width increase if the number of items in the legend doesn't fit with its initial size
I tried a lot of different settings and approces like ...
1
vote
1
answer
35
views
Why is the width of my webpage exceeding the device width
I'm encountering an issue with building a responsive webpage. When testing the page's responsiveness, the width extends beyond the device's width for some reason.
I've tried removing various parts of ...
0
votes
0
answers
67
views
Recyclerview columns same width (not fixed) but take as much space as needed
I've been at this problem for over a month now. What I want is simple. I want like a table where each column takes as much space as is needed for the other columns in the other rows. So in the picture ...
0
votes
0
answers
7
views
Setting wordwrap width in a Textbox VB Dot Net Visual Basic
How can I set a text box to wordwrap with no more that 47 characters per line.
Textbox is set to multiline = true and wordwrap = true.
[I'm using a normal not rich textbox, but can use richtextbox if ...
0
votes
0
answers
33
views
Entrywidth argument not working in R plotly
I am trying to make an interactive plot with the plotly package. The legend needs to be next to the image and have a certain width. I now have the issue that the default appears to be that the legend ...
1
vote
1
answer
113
views
How to control the width of bar charts in chartjs?
The bars in my bar chart using chartsjs are too wide. How can i make them thinner?
Here is my code
<body>
<div class="chart-container" style="position: relative; height:40vh; ...
1
vote
2
answers
101
views
Flutter: Have TextField (or any widget) take up only the minimum necessary space
I am new to Flutter, coming from React and Vue.
I'm trying to make a simple widget used to enter hours and minutes. I think it is turning out fine, although I have the problem that the widget ...
1
vote
1
answer
62
views
How to increase error bar width using stat_summary (ggplot2) in R
I'm following this tutorial to plot a stripchart with error bars, but I'm being unable to control bar width.
# Convert the variable dose from a numeric to a factor variable
ToothGrowth$dose <- as....
1
vote
0
answers
70
views
How to configure full screen MenuAnchor width
enter image description here
I want to use MenuAnchor to display a down box with the width of the screen. How to configure it
I've been looking at the code, the screen configuration widget set the ...
0
votes
1
answer
42
views
TimePicker mui-x taking up entire width of screen when clicked on. How do I set the width?
I've pretty much looked everywhere and have tried every solution posted I could find but nothing works. Can someone help me?
Screenshot:
Here is my code:
<Controller
name="startTime"
...
1
vote
1
answer
123
views
Container width does not maintain 100% on smaller screens
I'm trying to make a simple app landing page with a responsive UI, but I'm struggling a lot with chrome DevTools and understanding the behavior of each container's width. I have the width of each ...
0
votes
0
answers
30
views
PHPSPREADSHEET: setAutoSize(true) distorts image already on spreadsheet
Using the following at the end of my scxript
$spreadsheet->getActiveSheet()->getColumnDimension($column->getColumnIndex())->setAutoSize(true);
distorts (stretches) images currently ...
0
votes
2
answers
46
views
Toggle for different height and width in JavaScript
I want to make a toggle which toggles the height and the width of an element whenever it's clicked.
<div class="flexbox-container" id="main" onclick="staybig()">...
1
vote
1
answer
87
views
CSS width for inline vs. inline-block
I am trying to understand how the "width" style affects a "display: inline" vs. "display: inline-block" element. The key here is understanding, not trying to achieve a ...
0
votes
0
answers
43
views
How to fix grid pane not fitting underlying gridpane cell in javafx
so i have a grid pane and an image view both of size 1000. They are both placed on the game grid pane at the coordinates (0,1). They should be overlapping perfectly, but the grid pane is wider then ...
0
votes
0
answers
55
views
How to make the green background color fill the entire width of the home section? [duplicate]
How do I add the rest of the background color, green, to its full width in my home section? Due to my image, which is expanding into the supposed container:
Click to view the Image: https://i.sstatic....
0
votes
0
answers
50
views
how do ggboxplot with same width
My problem is that for day 0, I end up with a boxplot twice as wide as the others (because for spores the result is 0).
If I don't put a log scale, I don't have this problem anymore.
But I want to ...
0
votes
1
answer
48
views
CSS match previous sibling element's width (extend background color to overflow content)
I have two elements within a div and they both have different background colors. The first div may sometime overflow (due to dynamic content) and because of that the background-color does not extend ...
0
votes
0
answers
51
views
RecyclerView Width is Null
I have a child recyclerView (childRecyclerView) and a TextView (labelTextView) above it that I use as a column label. I would like the width of the TextView to always match the width of the child ...
0
votes
1
answer
42
views
CSS - How to increase width of the dropdown using CSS?
In the code I have checkbox, when checked the dropdown is displayed.
If 1st value of dropdown is selected the next dropdown is displayed next to it.
The problem is I am unable to increase the width of ...