prikhi / lightdm-mini-greeter

A Minimal, Configurable, Single-User GTK3 LightDM Greeter
GNU General Public License v3.0
541 stars 48 forks source link

Add Ability to Set Border Radius on Main Window #63

Open nbsp opened 4 years ago

nbsp commented 4 years ago

Would be really cool if you could make the corners of the password box/mainbox round, and also be able to set the radius in px

prikhi commented 3 years ago

Yeah I'll check out adding something like window-border-radius & password-border-radius

prikhi commented 3 years ago

:thinking: password input is easy, I can just set border-radius: ... in the #password CSS, but when I try the same with the main window, I get black corners where the round occurs:

2021-02-11-163722_342x115_scrot

prikhi commented 3 years ago

Hmm hmm, just gonna add in the password-border-radius for now while I figure out the main window - moving that discussion to #67.

prikhi commented 3 years ago

Tried for a while to get this working. I have a feeling it might be due to transparency & compositing, but not sure why it works for the password input.

I may have to re-jigger the GUI attachments so the main window is "inside" the background window, instead of "on top" of it...