798 questions
1
vote
0
answers
50
views
Parallax hero image turns grey after window resize / DevTools
I’m using jQuery Stellar to create a parallax hero at the top of the page.
<!-- HERO -->
<div class="site-blocks-cover"
data-stellar-background-ratio="0.5">
&...
1
vote
2
answers
73
views
I keep getting a TypeError using the removeEventListener to remove window resize event
I'm developing a function that adjusts the display content along with the window resize.
I have the following code to add window resize listener
mounted() {
...
window.addEventListener("...
0
votes
0
answers
86
views
Resizing a form C++Builder FMX (Delphi)
My task is to implement a standard mechanism for resizing a form.
I have the main form TForm frmMain.
frmMain->Transperent = true.
On the form is placed the TPanel PanelRoot
PanelRoot->Align = ...
0
votes
0
answers
71
views
Problems going between maximized and sidebar-only window
I have a specific situation where I do not understand how QT works and what is specifically wrong here. Below I describe two observable issues but I suppose that they follow from same underlying ...
0
votes
1
answer
252
views
Unable to resize sheet on macOS 15 with SwiftUI
In my macOS app, I can extend the main window of the app like that:
Window("SingleWindow", id: "single") {
RootMacView()
.frame(minWidth: 1000, maxWidth: .infinity, ...
0
votes
1
answer
93
views
ResizeObserver always return the same contentRect
I'm trying to show a PDF in my page by using "react-pdf". I am now struggling with making it responsive. I am now using this custom hook to get the size of the contentRect:
import { ...
1
vote
0
answers
49
views
how to make the window dynamically resizable and make the GUI responsive to the resizable window without changing the original aligntment
i want the window dynamically resizable and the GUI reactive to its resizable window without changing the original alignment and functions of each buttons and without changing the original logic of ...
0
votes
0
answers
57
views
Using window.matchMedia() to handle the different screen sizes and jQuery to update the DOM
When I am using multiple CSS classes on JS, window.onresize isn't working for me.
Tried different solutions on the web to solve but none worked for me.
My codes:
JS:
window.onresize = function(event) {...
0
votes
0
answers
130
views
How to Restrict Resizing window of iOS App Running on macOS in React Native with Expo?
I am developing an iOS app using React Native with Expo, and the app is primarily designed for iPhone and iPad. However, when running the app on macOS with an M chip, users can resize the window, ...
0
votes
0
answers
99
views
How to write code to resize window displaying an HTML Document?
I am working on a developing a demo displaying a html document and some other things. For this I need to place a window displaying an html document in the top right corner of my screen taking up a ...
0
votes
0
answers
76
views
addEventListener i removeEventListener on menu when resize window
What am I doing wrong? When menu opened in mobile version (< 768 px), first click should open the submenu and second click should get the parent URL (it works). After increasing the window width to ...
1
vote
3
answers
1k
views
Angular Window Resize performance
I'm creating an Angular responsive app where I have more than 10 breakpoints in which I have to group the elements in different containers. Having this in mind I believe that I can't get advantage of ...
0
votes
1
answer
705
views
Take a screenshot of all content (including off-screen) in Flutter
I'm making software for Windows using Flutter. I've already done everything, I'm in the final step where I need to take a screenshot of the content of a SizedBox of size 5000x5000 and transform it ...
0
votes
1
answer
213
views
Kivy Application - Widgets Disappear When Resizing Window Issue
Kivy users, Kivy lovers,
It's worth noting that a similar problem was reported in Kivy version 1.9.1, but it was supposedly resolved with an update. However, with the current version (2.3.0), the ...
0
votes
1
answer
205
views
What is the difference between WindowResized, WindowSizeChanged, and VideoResize events in pygame?
I'd like to scale my sprites when the window gets larger or smaller, I'm not sure which event to watch for in my game loop.
According to the pygame docs:
VIDEORESIZE:
Description: sent when the user ...