2,916 questions
2
votes
1
answer
111
views
Display game variation tree using compact vertical layout
I want to create a multi-line string that can be printed out or displayed via curses. This string displays the moves and variations of a go/weiqi/baduk game from an sgf file using unicode characters. ...
0
votes
1
answer
41
views
how to set "enable true hibernation" programmatically in android 6.0 system setting display
My app is running on a android6.0 device without physical button(back,home, menu buttons).
I need to optimize battery usage, but I can only reboot when device sleep.
if check this feature "enable ...
0
votes
0
answers
113
views
LVGL textarea doesn't display accented characters with custom font
I'm having an issue using a custom font in LVGL. I created a font named "Montserrat_Latin_14" which includes special characters like á, é, ç, õ, etc. When I use this font in an lv_label, the ...
0
votes
0
answers
9
views
In summary table with multiple period, how to insert blank row to break the summarize result of each period
When we work on summary table of study exposure with multiple treatment periods, we prepare the summary result of each period and then rbind the result into one.However, we want to insert blank row ...
0
votes
0
answers
64
views
How can I display P010 raw-video data in Android without converting it to another formats?
public void displayProcess (String path) throws FileNotFoundException {
rawVideoFile = new FileInputStream(path);
yuvBuffer = new byte[height * width * 3];
new Thread(this::playYUVVideo)....
-1
votes
2
answers
141
views
Convert ASCII string to integer for registry key (WmiMonitorID.UserFriendlyName)
im trying to get a powershell script to query display EDID info and put it into a reg key. when trying to add the key, it says its not found, but the reg key tree exists. it turns out that all the ...
1
vote
0
answers
23
views
Unable to resolve module "@ddc-node/ddc-node-win32-x64-msvc" in ddc-node GitHub repository
I am currently working with the GitHub repository ddc-node. However, I encountered an error that I am unable to resolve. The error message is as follows:
⨯ Error: could not resolve "@ddc-node/ddc-...
0
votes
0
answers
44
views
Is there a way to position a dropdown menu under the selected button in the navigation menu?
Beginner in CSS, recently I made a navigation menu, and now I want to add a dropdown menu to one of the buttons. However, it seems that the dropdown menu is misaligned and I'm not sure what I can do. ...
0
votes
0
answers
19
views
in Flexbox, How to make sure each div has same height? [duplicate]
as you can see, the height of div7 and div8 is shorter than others, how to copy or make sure all of them has same height.
Flexbox is copying the tallest div, but when the item move in bottom due to ...
0
votes
1
answer
75
views
Apply style to PANDAS table and print with truncation (Jupyter Lab/Notebook)
Is there a way to apply a style to a pandas table in Jupyter Lab and then print it while keeping the table truncation functionality?
I have large tables where both the columns and the rows are ...
0
votes
0
answers
37
views
How to keep Python main module running while Serial Output goes to a display
I've been working on this project on and off for a while; for the most part, it does exactly what I want it to do. I'm using an RPI Zero with a TFLUNA lidar sensor and SSD1306 type display for range ...
2
votes
0
answers
61
views
Why does an <img> element inside an element with `display: table` expand in width when the image fails to load?
In the standard configuration of WordPress, when centering figure elements containing img elements is chosen, these elements are automatically styled with display: table; margin-left: auto; margin-...
0
votes
1
answer
59
views
im trying to make an app where it will generate a random video game and show the games cover when its generated
i cant get the video game cover image from my html document to be displayed when the game title is displayed using my javascript function. im not sure what to do and couldnt find anything similar ...
0
votes
1
answer
83
views
How scroll to spesific item in ItemsRepeater by index in WinUI 3
I have itemsRepeater of images of type BitmapImage,
and itemsRepeater exist in ScrollViewer.
and I want that user input number and scroll to the image that in this index in ItemsRepeater.
How I do it ...
0
votes
3
answers
89
views
how to make span take up entire height of div
I have this group of spans that are supposed to serve as selectors, so I want them to take up the entire space around them when the user hovers over them, however I have no idea how and could not find ...
-1
votes
3
answers
77
views
What is the correct way to keep container out of the flow until clicking a button to show that container?
I am struggling with keeping containers out of the flow until i click a button to show them. Maybe its a fundamental thing . In this example , when i click on any of the category of : MEN , WOMEN , ...
1
vote
2
answers
58
views
zooming and mouse click with JFrame and AffineTransform
I'm having a issue with mouse click being tied to JFrame location while a BufferedImage is being displayed and setting the location of the mouse click relative to the scaling of a zoom.
(code is from ...
1
vote
1
answer
111
views
Restore matplotlib navigation toolbar option
On updating my computer, I lost my favorite button in Matplotlib.
Here's the new configuration:
and here's the old configuration:
The old configuration has that zigzag button (the penultimate one, ...
0
votes
2
answers
259
views
CSS responsive design scrolling horizontally and there is white space out of content
When I made a website design using HTML and CSS it was working for large screens but when it comes to media query to make it responsive for small screens and medium it showed a lot of white space and ...
0
votes
0
answers
255
views
How to change external screen brightness using powershell?
I have a second external display and am trying to set the display brightness using powershell.
I can easily set the brightness for the Primary (built-in) display, using the following:
# Get CIM object ...
0
votes
0
answers
42
views
Third Term Results Not Displaying in Final Output Despite Presence in Array
I’m having an issue with displaying exam subjects and results for the third term in my PHP application. First Term and Second Term displays just fine but the Third term is not displaying. All three ...
1
vote
0
answers
81
views
How to Efficiently Handle and Display Over 1000 Plots with User Input in Jupyter Notebook with VS Code
I'm running an analysis that requires plotting data and having a human (engineer) decide whether to accept the fitting based on their judgment. The dataset is large, with over 1000 plots, and user ...
0
votes
1
answer
42
views
Add Text to span complex field by Jquery
I want onclick event on <input> tag to display custom error in <span> placed tag just below it
I have many input readonly fields like,
<input class="form-control valid" id=&...
1
vote
1
answer
56
views
Why does a div with display: block (default) not expand to vertically fit an image without overflow but changing it to display: inline-block does? [duplicate]
I have a div with a background color via background-image:linear-gradient, and with the div's default display as block it doesn't expand vertically to fit the image, the image overflows over the ...
0
votes
1
answer
54
views
MatPlotLib Graph in a tkinter frame stays completly white
The graph supossed to be displayed in the canvas does not appear
import tkinter as tk
import matplotlib.pyplot as plt
from matplotlib.backends.backend_tkagg import FigureCanvasTk
import numpy as np
...