Skip to main content

All Questions

Tagged with
0 votes
0 answers
43 views

How can I modify the image and color of scrollbar buttons in HTML and CSS?

When I developed software using Electron, I found that its built-in scrollbar was not very attractive: Electron's built-in scrollbar style I decided to customize the scrollbar style. My CSS style and ...
Juruoer's user avatar
0 votes
2 answers
39 views

can't change height of webview element

I am creating a desktop web browser (target platform is Windows) using electron. I am using a <webview> element to display the contents of a target URL. I am unable to change its height, despite ...
Atomic Peanut's user avatar
0 votes
2 answers
120 views

Error when Loading js file in HTML. HTML unable to load my js file

I tried loading js code in html but no js functionality is reflected in my code. here is my html snippet <!DOCTYPE html> <html> <head> Point Of Sale <link href="css/...
HARRISON KURIA's user avatar
0 votes
0 answers
42 views

How to enable window maximization on Electron?

The maximize button on my Electron app is grayed out/disabled. I didn't do this in my code and I am using Windows 11. This is my code: import { app, BrowserWindow } from 'electron'; const ...
Mahmoud Walid's user avatar
0 votes
1 answer
39 views

Electron WebView CSS Border Radius

Does Electron's <webview> tag support having a border radius? If not, is there a reference to which styles are supported? HTML <body> <aside> </aside> <main> ...
Matthew Layton's user avatar
2 votes
1 answer
73 views

electron.js - BrowserWindow viewport size shrinks by 1px when it is resized

I have a frameless electron.js window here (main.js): const createWindow = () => { const win = new BrowserWindow({ width: 500, height: 400, useContentSize: true, frame: false, })...
T. Feix's user avatar
  • 35
0 votes
0 answers
238 views

Impact and the risk of set the param sysctl dev.i915.perf_stream_paranoid to 0 in ubuntu 20.04

I'm trying to generate and PDF using an HTML page using electron-pdf (https://www.npmjs.com/package/electron-pdf) . The pdf is generated but it's vague and not the exact html rendered when opened with ...
Hash934's user avatar
  • 97
1 vote
0 answers
348 views

Font does not load correclty in electron app

I am using this font: 'https://fonts.googleapis.com/css?family=JetBrains Mono' for my electron app using react and when i load it up the electron app does not show the correct font, when i run it ...
Freeeeky's user avatar
0 votes
2 answers
299 views

Custom fonts files cant be find [ELECTRON]

The problem: I added custom fonts, but they dont show on my app Web console: "Failed to load resource: net::ERR_FILE_NOT_FOUND" Terminator console: - nothing - My files structure: main.js ...
João Lucas Hoffman's user avatar
1 vote
1 answer
124 views

How to run a batch file with electron?

I've been trying to find a solution all morning. I've watched numerous tutorials, but I just don't get how this works. In my Electron program there is a button. When this button is clicked, a batch ...
NMA's user avatar
  • 13
0 votes
1 answer
430 views

Electron Leaves 1px Border Around titleBarOverlay

I'm very new to Electron and Node.js so forgive any misuse of the terminology. I'm working on a Windows 10 application. I'm trying to gain the ability to customize the title bar area of my app (along ...
Orion DeYoe's user avatar
1 vote
0 answers
129 views

Electron - How to keep consistent contents size?

There is a problem with the window contents. In the index.html file, everything appears correctly in terms of size. However, when clicking on the "Click here" link to navigate to register....
Zyaan's user avatar
  • 109
-1 votes
1 answer
55 views

Height not changing in a div with CSS

when i try to change my div's height it doesn't move when i input the height. I want it to touch the top of the window and it isn't here is the code. CSS .shop { position: absolute; width: 200px;...
shara's user avatar
  • 25
0 votes
1 answer
84 views

I can't get my html to execute my js file on Electron

I might be really bad at this but I've spent the last two hours on it so if someone could indicate me what's wrong I would be eternally grateful. I am training on Electron and I am trying to make this ...
W B's user avatar
  • 13
1 vote
0 answers
43 views

Symbolic linked images not loading in Electron app in Windows

If I open the symbolic link with PAINT, I can see the expected image. So it means that the symbolic link is working. The only issue is when I load the image using Electron app in Windows. ....
Shanavas P S's user avatar

15 30 50 per page
1
2 3 4 5
15