9,214 questions
2
votes
1
answer
48
views
on small resolution added hamburger span stays on screen when resizing the window although it should be removed [duplicate]
I have this js, but it works only with browser refresh.
let vw = Math.max(document.documentElement.clientWidth || 0, window.innerWidth || 0)
if(vw < 801){
as = document.getElementById('as');
...
0
votes
1
answer
67
views
Flutter UI error when retracting keyboard
I'm facing an issue with Flutter UI. I am using resizeToAvoidBottomInset to resize my UI when the keyboard show, the only problem is that when the keyboard retract the UI lagged.
this is the image ...
0
votes
1
answer
56
views
resizeToAvoidBottomInset: true not working when using InteractiveViewer
Steps to reproduce
Create a Flutter project and replace the content of main.dart with the sample code provided above.
Run the app on a physical or virtual device.
Tap on the TextField at the bottom ...
0
votes
2
answers
63
views
How do I scale any iframe and contents to match the size of its parent element
The snippet below has an iframe with fixed-resolution content inside. The parent div may change size and I need this iframe and its contents to change size along with it.
<div id="outer"&...
0
votes
0
answers
35
views
Intercom - Can i change size of iframe window?
Using Intercom for a business help center. Is there a way to resize the actual message/chat window to fit the dimensions of our website? Specifically width and height to 300 x 650. Currently intercom'...
0
votes
0
answers
94
views
How to end SC_SIZE command (resizing of the window) with Right Mouse Button release?
I have a WINAPI application and I want the user to be able to resize the window with the Right Mouse Button.
Calling SendMessage(hwnd, WM_SYSCOMMAND, SC_SIZE + WMSZ_BOTTOMRIGHT, 0); in a ...
2
votes
2
answers
140
views
mat-dialog moves out of the screen when the dialog is dragged and resized [closed]
Is there a way to prevent the dialog from moving out of the screen/window when it is resized? I have set minimum and maximum height and width for the Mat dialog, but when I drag the dialog toward the ...
1
vote
0
answers
48
views
On Firefox, resizing a div via an absolute positioned handle on its right or bottom edge makes the handles disappear beyond a small drag. React app
I have a child component named CommentTextArea that is a mainly a text input component with a relative positioned div and a textarea element inside it (which occupies the div's space completely via ...
0
votes
1
answer
344
views
Godot 4.4.1 Game Engine while playing the project the window size is too large to fit the screen, as i am developing the game for mobile in portrait
Hi I am very new to Godot Game Engine, I am trying to make a game for mobile phone in portrait mode, the display window size I set is 1080 by 1920, now I try to run the project in my computer only ...
-1
votes
1
answer
64
views
Resizing custom cursor in Java swing
I am doing a painting app. I want to have an eraser as a cursor when I am erasing. I can set the picture for it, but the picture is formatted to 32x32 px. But I want it smaller. Does anyone know about ...
1
vote
1
answer
63
views
Im implementing a python dict. I´m using a doubly linked list, it works until the first resize. How can I change my resize method to make it work?
When inserting the first 8 pairs of keys and values it works perfectly fine and the order is maintained, the problem comes after the resizing. If I insert the pairs (4,4),(5,5),(6,6),(7,7),(1,1),(2,2),...
0
votes
1
answer
64
views
How to log winow.innerWidth as it changes?
I am having a situation where I can only log window.innerWidth as the window size width changes inside the scope of the written function from where it is returned, but returning the value and logging ...
-4
votes
2
answers
143
views
Visual Studio - render size smaller than actual height/width measurements
In visual studio the live preview shows me that the window is bigger than whats rendering. The only solution i've found is to approximate how much the render is off by and increase the window size by ...
-1
votes
4
answers
107
views
Tkinter - resize parent after grid_remove()
Either I did misread some of the documentation or I still do not quite understand some concepts of Tkinter.
If I add widgets (e.g. Labels) to a frame using grid() the frame gets resized to fit them. (...
0
votes
1
answer
65
views
How can I resize an image of a sudoku board into a perfect square using python?
I want to create a sudoku solver using python. For this, I want to read the sudoku board from an image using an OCR. I think the best way is to split a perfectly square image of a sudoku board into 81 ...