Questions tagged [transparent]
A GUI (often web) technique for trapping user actions across multiple elements by using an overlaying, but transparent, GUI object.
1,918
questions
0
votes
0
answers
30
views
Win32Gui + Tkinter(Clickthrough Overlay, Transparent Background)
I am creating a Full Screen Desktop Overlay.
On the Overlay, I am placing a PNG Image with Transparency.
The Image should be 100% visible, but the Background should be completely Transparent.
I should ...
-1
votes
0
answers
20
views
making player background invisible in pygame using png image [duplicate]
I am making a game using pygame. The player png that I have does not have a transparent background, so it has a blue square under it. Is there a way to remove this? And if so, how? I am just learning ...
0
votes
0
answers
27
views
WS_EX_TRANSPARENT can't click on Windows 11 taskbar
I use WS_EX_LAYERED | WS_EX_TRANSPARENT to set my full screen program as fully transparent, and mouse clicks can pass through to the underlying windows. Everything works fine on Windows 10, but the ...
0
votes
2
answers
50
views
How do I add transparent Pixels without just doing white pixels?
I Just made a little pixel art app and I ran into a problem while I was trying to fix the eraser tool. When I try to erase with the color 'rgba(0, 0, 0, 0)' it does nothing, so I am forced to settle ...
0
votes
0
answers
10
views
How to add border on clip-path, but also have transparent background?
Problem is that always there is background and i can't make it transparent, but border around polygon visible.
.table-parent {
max-width: 573.198px;
height: 400.688px;
background-color: rgba(214,...
0
votes
1
answer
40
views
Xamarin.Android - Form Transparent
In Xamarin Android, how to make a form completely transparent?
In my layout XML....
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas....
0
votes
0
answers
46
views
How do I make the bg_color of a button widget in tkinter transparent
import customtkinter as ctk
from tkinter import *
from PIL import Image, ImageTk
def resize_image(event=None):
width, height = window.winfo_width(), window.winfo_height()
resized_image = ...
-1
votes
1
answer
50
views
Gradient from white to transparent instead shows as white to black
I need how to make a gradient that smoothly transitions from white to transparent for a 2D sprite via a URP shader graph.
It seems like I’m already set up and everything should work, but for some ...
0
votes
0
answers
26
views
How to create transparent background in ComponentActivity by jetpack compose
AttachmentPickerActivity it is an activity similar to dialog, half of the screen.
how to make AttachmentPickerActivity with trasparent background or something like that?
class AttachmentActivity : ...
1
vote
0
answers
20
views
Unity with Vuforia: Issue with Button to Make 3D Object Transparent
I'm currently working on a Unity project that involves Vuforia, and I've encountered a challenge regarding a button that's supposed to make a 3D object transparent when clicked. Unfortunately, the ...
0
votes
0
answers
23
views
C# .Net setting transparentKey results unexpected error->incorrect parameter
I have a form with LOTS of nested sub userControls in it.
I wanted one of the subControls to have transparent areas, so I added in the parents form constructor the following code:
this.SetStyle(...
0
votes
0
answers
807
views
Transparent Frame in CustomTkinter
I am coding an application with customTkinter. For layout-reasons I used a frame (player_frame) that contains other frames (p_frames). I don't want the player_frame to be visible, so I tried to set it'...
0
votes
1
answer
56
views
Html+css: horizontal side by side 2 DIVs with 3 pictures, 2 of them with transparent background?
There are 3 pictures with 2 of them with transparent background (aka layers) and there 3 pictures with 2 of them with transparent background (aka layers) more, totally 6 ones - 2 virtual blocks with 3 ...
0
votes
2
answers
111
views
Angular, how to make a whole component transparent when use it as an overlay
I am using a component as an overlay when click a button. What's annoying me is that the background color of the component is always white even though the thing I put on the component is transparent. ...
0
votes
0
answers
23
views
Transparent Activity not showing over Settings.ACTION_ACCESSIBILITY_SETTINGS view on Android 13
I need to show some suggestion view on setting page , I made transparent activity and it's working on all other device. First I m calling setting intent after that I m calling my transparent activity ....
1
vote
1
answer
29
views
Cutting off SVG path shows background color
I'm not well experienced in SVG but trying to make all paths transparent.
<?xml version="1.0" encoding="utf-8"?>
<svg viewBox="0 0 1066.6667 1064.9733" xmlns="http://www.w3.org/2000/svg"&...
0
votes
0
answers
29
views
Hide components beind transparent header
I'm a noob. I've been trying to find a solution that works for my problem for several days, but I've been unable to find it. The other posts on Stackoverflow didn't help me. I have a transparent ...
0
votes
1
answer
49
views
JSwing - Undecorated window not transparent despite being defined as transparent
I am trying to make this image appear on my screen, with the background being transparent, as a simple test for a bigger program (being a virtual pet)
I am using the following code to do this:
// Java ...
0
votes
0
answers
189
views
Playing video with alpha channel (transparent background) in exoplayer in compose android
Is it possible to play alpha channel video (Transparent background) in exoplayer in compose android? any workaround? I tried with TextureView but it didn't work.
I went thorough all of these link but ...
0
votes
1
answer
174
views
with bokeh, how to export png or get Pillow image object with transparent background?
In bokeh's document, it said to create png with transparent background, one should set:
plot.background_fill_color = None
plot.border_fill_color = None
But since internally, they're saving png file ...
0
votes
0
answers
29
views
How to get a transparent background for default tab controller, I tried to set the backgroundcolor to Colors.transparent, but it doesn't work fine
Here is the code,
return DefaultTabController(
length: 3,
child: Scaffold(
backgroundColor: Colors.white,
appBar: AppBar(
title: const Text("Fresh Juice"),
),
...
0
votes
1
answer
49
views
Alpha channel have no effect when drawn to texture and pasted to window
Using SDL2, I want to draw some graphics on texture and paste it on window for speed enhancement. When I paste it I want my alpha channel preserved.
This code is supposed to show a white rotating ...
0
votes
0
answers
18
views
Qt QWidget transparent background fails on Android
When I attempting to set transparent background for QWidget in Qt for Android, it ends up with a background filled with the blurred texture of what behind unexpectedly.
The code below is what I write ...
0
votes
1
answer
92
views
[SwiftUI]: Not transparency behind TabBar
I just started to learn SwiftUI, and I have an issue: why my TabBar isn't transparent when scrolling ?
Here's my code :
var body: some View {
VStack {
ZStack(alignment: .bottomTrailing) {
...
0
votes
0
answers
96
views
Is it possible to click desktop icons behind the Flutter app (transparent windows app)
I wonder how to make a transparent windows app by Flutter
It normally stays background without any responses, but responds specific events such as double-click.
Let me show you what I want to make as ...
0
votes
1
answer
60
views
Android Homescreen Launcher App Development - Previous launcher shows behind my transparent launcher activity
I'm developing an Android launcher homescreen app, and whenever I go to set the application I'm developing as the default launcher, it shows my launcher over the previously set default launcher on the ...
0
votes
0
answers
49
views
Transparent window in ElectronJS not working Ubuntu 22.04
I have this for a transparent window in ElectronJS:
app.commandLine.appendSwitch('enable-transparent-visuals');
app.commandLine.appendSwitch('disable-gpu');
I have a problem with Ubuntu 22.04 and ...
0
votes
0
answers
67
views
Changing the menu item in code (transparent & sticky header)
I am asking for help in editing the code below, it is about changing the ElementsKitNavMenu menu item to MegaMenu with PremiumAddons.
This works fine for an elementskit element but I can't use it on a ...
1
vote
0
answers
75
views
Add COMPOSE to WindowManager - Android
@Composable
fun Welcome(){
Text(text = "Hello world!")
}
val window = context.getSystemService(Context.WINDOW_SERVICE) as WindowManager
How to add compose to window:
window.addView(Welcome(...
1
vote
1
answer
143
views
Bootstrap 5 Transparent Navbar not working
I'm currently working on a Django project (Practicing) and I was able to make the navbar transparent when I started, and I have implemented quite a fair bit of code since then and have since been ...
0
votes
2
answers
192
views
c++ | Creating transparent parent window without using LWA_COLORKEY or effecting child windows
I am trying to have my parent window transparent and my child window not effected by this transparency.
I did use LWA_alpha but that changed the transparency of the child window aswell which I do not ...
0
votes
0
answers
25
views
Animation it's problem is background image transparent when move?
Animation it's problem is background image transparent when move ?
am use code
Protected Overrides Sub OnPaintBackground(e As System.Windows.Forms.PaintEventArgs)
MyBase.OnPaintBackground(e)
If ...
1
vote
1
answer
2k
views
Convert Transparent PNGs to a Transparent Video
I have a set of transparent PNG pictures, and I want to convert them into a video with transparent background (play the PNGs continuously).
First, I used ffmpeg with the terminal command:
ffmpeg -...
0
votes
0
answers
33
views
App theme not working when updated from Android 9 to Android 11 SDK
I have an Activity UserPreferencesActivity which has style Theme.Transparent
<activity
android:name=".activities.UserPreferencesActivity"
android:configChanges="...
0
votes
1
answer
133
views
How do you add a translucent (half transparent) rectangle anywhere in a html page?
I really want to know how to add a half-transparent rectangle in the middle of my page and not cover all my text.
I tried to add white backgrounds and make the opacity lower:
p.a { float: right; ...
0
votes
1
answer
117
views
Transparent Background - shows as black (convert pcx to png)
My goal is to convert a pcx image to png. The pcx image has transparent background and white lines\sketch.
I tried converting it using the below:
magick convert abc.pcx abc.png
magick convert abc.pcx -...
0
votes
0
answers
122
views
how to make icons of bottom navigation bar transparent?
I am working on an android app where I have to take icons of bottom navigation bar transparent without any tint layer. How can I do that?
I have tried @android:itemIconTint="@color/tranparent&...
2
votes
1
answer
222
views
Rendering bug? when using transparent NSWindow with SwiftUI for MacOS app
I was developing a macOS app using SwiftUI (latest version from XCode 14.1) with the following App setup
import SwiftUI
@main
struct DemoApp: App {
@NSApplicationDelegateAdaptor(AppDelegate.self) ...
0
votes
1
answer
153
views
C++ Transparent image using windows.h / WinAPI
I'm trying to make a custom title bar/border and I want it to be half transparent. When I load the image it works fine, but as soon, as I make even just 1 pixel from 255 opacity to 254, it just shows ...
1
vote
1
answer
95
views
Place an image on top of another, make gradient background colors transparent
I have 2 images, I need to put one on top of the other.
The second image is taken on a pink background (simulated below) and due to the light falloff the background is more sort of a gradient.
I need ...
3
votes
1
answer
283
views
BottomAppBar height gets bigger when using window.setDecorFitsSystemWindows(false)
I am trying to achieve transparent status bar by using window.setDecorFitsSystemWindows(false) and statusBarColor = Color.TRANSPARENT. I achieved my goal, but when I introduced BottomAppBar, its size (...
0
votes
2
answers
153
views
How to implement a transparent header on mobile view
I'm trying to implement a transparent header for mobile view like this:
For comparison, my current header renders above my hero image and has a white background. It looks like this:
What can I do to ...
0
votes
0
answers
57
views
How to make semi-transparent form supporting gradient images
hello in my project i have this form:
The transparenctkey of the form is set to Wheat, so it's backcolor.
But when i try to create pictureboxes with semi transparent images, the transparency key ...
0
votes
0
answers
66
views
PyQt fill transparent object with color
So I'm doing an assignment with the go chess, and I first created all the pieces on the board, which are transparent. If it's a black player's turn, when the player clicks it, the piece will turn from ...
0
votes
1
answer
33
views
How do I remove the transparent side?
I have put in the first: the normal image
Then I split each of them in Photoshop into png file.
Then I put the first split images:
Then the second picture:
Then the others.
Then I got this look:
So ...
1
vote
0
answers
84
views
compare a png logo with video except png's transparent background pixels
I want to find frames with the logo image from video, and to concat theses frames without commercials for getting ad-free video.
I tried this first by using ffmpeg & jpg logo image.
ffmpeg -i ...
1
vote
0
answers
99
views
unable to FillRect with transparent brush when double buffering
As the title says I'm unable to FillRect bitmap to be transparent. I know when creating the bitmap it is not monochrome as gray brush works fine but I have no way (that I'm aware of) to check if it is ...
0
votes
1
answer
40
views
How do I reflect the background of a window in tkinter without reflecting the things inside the window?
I want to delete all the background of the tkinter window and still leave all the other things I did in the window
from tkinter import *
win = Tk()
win.geometry("500x500")
Button = Button(...
0
votes
1
answer
185
views
how to make visible a tableLayoutPanel behind a transparent image?
pardon me for this question but I'm a c# n00b.
I'd like to show a tableLayoutPanel on the background of an image with transparent sections (so it's not an issue with transparency between 2 PictureBox, ...
0
votes
2
answers
210
views
Can I hide text in container until user hover over it? If yes how?
I've made a container and there is text and a background image in the container. The text is in h3 tags. I want the text to stay hidden showing only image. When user hover over the container I want to ...