9,252 questions
-5
votes
0
answers
58
views
How do i know where to place an item [closed]
Hello im new to web development. Iam using this Jvascript to know where the location of the item i want to place is. Is this the good way or am i doing something wrong?
const header = document....
0
votes
1
answer
47
views
Sticky or fixed HTML elements are occluded on mobile browsers when address bar changes size
HTML elements affixed to the top of the page using CSS position property set to either fixed or sticky can often work just fine on desktops, but mobile web browsers behave vastly differently due to ...
2
votes
1
answer
128
views
How do I get the position of text from a PyPlot plot?
We can specify the position of text in PyPlot, but how can we read the position of text? For example, I want to know the coordinates of the Figure's title or the Axes X and Y labels.
Pseudo-code:
x, y ...
2
votes
1
answer
203
views
How to place and orient RealityKit camera
I'm really struggling to get the camera to behave even remotely as expected in a RealityKit app (where I have set RealityViewCameraContent.camera to .virtual).
I have a programmatically generated ...
0
votes
0
answers
20
views
why date wrapper goes top left of screen
The DateWrapper popover is appearing at the top-left side of the button. I've tried fixing it, but it's still not working. how to fix it?
<Box
sx={{
display: "flex",
...
0
votes
1
answer
39
views
Flexbox justify-content:space-between doesn't work properly with position:absolute
I'm facing this issue:
I'm looking to use position:absolute, to adjust the span.materias__item-detalle, to bottom of the div, without caring the size that the h4 occupes.
But, I also want to use ...
0
votes
0
answers
92
views
How to get the coordinate of Composable element?
I’m working on a Jetpack Compose app where I want a Text item in a LazyColumn become transparent as it scrolls under a semi-transparent TopAppBar. To achieve this, I’m using onGloballyPositioned to ...
0
votes
0
answers
19
views
Relative position of widget is always wrong after the first one
So I have this widget class.
class TitledWidget(ctk.CTkFrame):
def __init__(self, parent, title="", **kwargs):
super().__init__(parent, **kwargs)
self.title = title
...
0
votes
1
answer
60
views
How can i keep this div visible until it moves to its end position but scroll past it after it has moved to its end position?
I am able to make this div move right when scrolling but i want its position to be fixed while scrolling before it has reached its end position. The problem I am having is that when I scroll further ...
1
vote
1
answer
101
views
How can I ensure that all prefabs dragged from the assets to the scene are placed at (0, 0, 0) relative to their parent?
I have a handful of prefabs in my project's assets which I am frequently dragging into and out of the scene in order to test them sequentially after changing the code in their attached scripts. They ...
0
votes
0
answers
35
views
Can input elements being positioned in Drupal 10 into a table
I have in Drupal 10 made a simple table that is being build with a PHP as part of a module.
When I use a buildForm-function, I can not position the input fields. I want these to be as if they were ...
0
votes
0
answers
24
views
How can I ensure that the selected item in a PageViewCountIndicator widget always stays centered during scrolling in Flutter?
I have a custom PageViewCountIndicator widget in Flutter that displays a list of dots representing pages. I want the selected dot to always be exactly centered when selected, and I want the scrolling ...
0
votes
1
answer
73
views
How to combine and position title and legend in tmap in R?
I am struggling to place the title inside the frame of the legend, but on top of the legend and not below. Any guidance or working examples would be greatly appreciated! Thank you. The online help isn'...
0
votes
1
answer
54
views
"background blur" in SwiftUI?
I want to draw image overlapped with a blurred panel with a text. The problem is the panel frame depends on text frame. In the same time mask modifier is set separately from text and panel.
My code:
...
1
vote
2
answers
74
views
Why doesn't the left sticky position work when the scroll container is the body?
I've tested this with the scroll container being a div and being the body, and when the container is the body, the sticky position doesn't work properly. It seems to me that the only sticky that works ...