bilelmoussaoui / ashpd

A Rust wrapper around XDG portals DBus interfaces
https://bilelmoussaoui.github.io/ashpd/ashpd/
MIT License
242 stars 44 forks source link

dynamic_laucher: Fix textview style #227

Closed A6GibKm closed 3 weeks ago

A6GibKm commented 3 months ago

We need .inline to remove the .view's background, but card and inline can't be on the same widget as card adds a background.

image

A6GibKm commented 3 months ago

Note that TextView is scrollable and it is UB to have a parent that is not a ScrolledWindow. Using a scrolled window though requires the following hack:

toolbarview scrolledwindow.card undershoot.top,
toolbarview scrolledwindow.card undershoot.bottom {
  box-shadow: none;
  background: none;
}

to hide separators added by the parent toolbarview.

bilelmoussaoui commented 3 weeks ago

This one is no longer needed, right?

A6GibKm commented 3 weeks ago

Whoops, no