nwg-piotr / nwg-drawer

Application drawer for wlroots-based Wayland compositors
MIT License
233 stars 25 forks source link

Dotted lines not in drawer.css #107

Closed BluishHumility closed 8 months ago

BluishHumility commented 8 months ago

Hi Piotr, sorry if this is kind of a silly issue but I'm trying to figure out how to change these dotted lines to solid lines:

image

The default drawer.css (https://github.com/nwg-piotr/nwg-drawer/blob/main/drawer.css) has dotted line values for pinned-box and files-box, but it seems these two lines in the screenshot are something else not in the file.

I poked around a bit to try and find any other version of the drawer.css which describe more of the options that are being set, but I'll be honest I'm not really sure what I'm looking for. If they can't be changed it's no big deal, I just thought I'd ask before giving up. :smile:

Thanks for taking a look, -Jeremy

nwg-piotr commented 8 months ago

The element the #pinned-box ID refers to is a border of the box:

image

The dashed line you mean marks the boundary of the gtk.ScrolledWindow. I've never tried to redefine its appearance. According to Bing:

Gtk.ScrolledWindow has a main CSS node with the name scrolledwindow ¹². It also gets a .frame style class added when GtkScrolledWindow:has-frame is TRUE ². The GtkScrolledWindow uses subnodes with names overshoot and undershoot to draw the overflow and underflow indications ¹². These nodes get the .left, .right, .top, or .bottom style class added depending on where the indication is drawn ¹.

I hope this helps!

Źródło: Konwersacja za pomocą usługi Bing, 3.12.2023 (1) Gtk.ScrolledWindow. https://docs.gtk.org/gtk3/class.ScrolledWindow.html. (2) Gtk.ScrolledWindow. https://docs.gtk.org/gtk4/class.ScrolledWindow.html. (3) CSS ID and Class Selectors | W3Docs. https://www.w3docs.com/learn-css/css-id-and-class.html.

BluishHumility commented 8 months ago

Hi Piotr, thanks for the clue. I did spend some time poking around with this (more than I'd like to admit, actually!) but wasn't able to get anywhere with the dotted lines. No worries though, like I mentioned it's no big deal--I just wanted to make sure I wasn't missing something. Thanks again for taking a look.

nwg-piotr commented 8 months ago

I tried as well, and failed too. :)