4,546 questions
0
votes
1
answer
86
views
Outline is not rendered in Firefox if scale is too small
Consider the following code snippet. When the scale is set to more than 0.5, the outline is visible. When it is less than 0.5, the outline is missing. At exactly 0.5, the outline is strangely only ...
4
votes
1
answer
176
views
Problem when transforming the axis scales of a graph from gratia::draw
Using this example, transforming the axis scales reveals unwanted white lines. How can this problem be solved?
library("mgcv")
library("qgam")
library("gratia")
library(&...
0
votes
2
answers
115
views
How to make a nonlinear color bar?
I have a data file which has a lot of data between [-5:5] and some extreme data with values around -20. If I use a linear color scale, the smaller magnitude data cannot be seen on the plot. So I am ...
1
vote
1
answer
79
views
Stopping fixed div from going off screen after being resized
I have a div that is fixed and contains an img inside to display images, but it shows images that are different sizes, and that means it goes off screen when it tries to display vertical images
how do ...
Best practices
1
vote
2
replies
124
views
CSS transform (scale) vs. zoom
I use
<div class="flex">
<div class="box">
<img [...]><br>
ab
</div>
<div class="box">
<img [......
0
votes
0
answers
84
views
Why does Apple iCloud CalDAV always return 400/405 on PUT (creating events)? Is iCloud CalDAV write-protected?
I’m trying to create events on an iCloud Calendar using CalDAV.
READ operations work:
PROPFIND → OK
REPORT (get events) → OK
Authentication with app-specific password → OK
But every PUT request (...
-1
votes
1
answer
85
views
How do I scale and translate my Pentagons properly?
I am trying to finish a program that will take the world coordinates of polygons, in this case pentagons, and scale and translate them from a world size of 1280x720 so they are drawn based on the ...
5
votes
2
answers
285
views
Zoom-by-slider goes awry when binding the slider to the scale property
Intro
The following code demonstrates the Zoom and Drag functionalities of an ImageView in a viewport. Zoom can be adjusted either by scrolling the mouse wheel or through a Slider. Meanwhile, dragging ...
2
votes
2
answers
200
views
How to make by buttons all be uniform size and centred?
I'm currently making a website and I want to include these buttons, as I have them in my design:
Screenshot of website design
They are all of the same size, equally spaced out and centred across the ...
-2
votes
1
answer
96
views
Tkinter Volume scale/slider doesn't set volume
I have a slider to change the volume on my PC when I change the scale. However, it doesn't set the volume at the moment and I don't know why. Can someone please help me?
My code:
from tkinter import *
...
0
votes
2
answers
331
views
CSS transform-scale does not work on Safari on iPhone 17 Pro iOS 26
My webpage utilises the transform/scale() function to downsize it for mobile devices. While it works quite well on most of the test devices, it breaks on iPhone 17 Pro iOS 26.
The webpage loads zoomed ...
-1
votes
1
answer
83
views
Kubernetes HPA algorithm [closed]
i have 2 questions:
1 - i'd like to know if i can set my hpa to compare the limits resources instead of the requests resources with the target utilization i choose for memory and cpu(i'm using normal ...
1
vote
0
answers
120
views
React + pdf.js: PDF reloads/disappears when starting “calibrate from two points”; can’t change pages afterward. PDF Construction drawing scaling
I’m building a browser tool that shows big PDF blueprints and lets you measure, with a “Set Scale → Calibrate from two points” flow (click two points on the sheet, enter the real-world distance, and ...
0
votes
0
answers
81
views
Line chart> (swimlane/ngx-charts) In zoom-in mode, the chart marker is displaying the value of the next data point instead of the selected one
1. Marker Display Issue in Zoom-In Mode
When zooming into the line chart, the marker/tooltip is showing the value of the next data point instead of the currently selected one.
2. Tooltip Position ...
2
votes
1
answer
142
views
Change of basis for log-log plotting, grid in log-scale
I want to plot in log scale in both axis, when using the default base, the graph plotted is correct, but since the y variation of my data is small I would like to change for base=2, when I does this ...