GTK doesn't accept percantage for `margin-*` values, it only accepts
`<length>` not `<length-percentage>` that "real" CSS accepts for
those.

Cheers
Lex

PS, or of course the GTK docs could be wrong ... nah never ;-P

On Mon, 23 Oct 2023 at 01:45, Little Girl via Users
<users@lists.geany.org> wrote:
>
> Hey there,
>
> Enrico Tröger via Users wrote:
>
> >I hope there are better approaches but I'm not good as CSS and CSS
> >in GTK is very limited (e.g. you cannot use percentages and so it's
> >all pixel values :( ).
>
> It looks like percentages and several other unit types are accepted
> in GTK 3.0 and 4.0:
> * https://docs.gtk.org/gtk3/css-properties.html
> * https://docs.gtk.org/gtk4/css-properties.html
>
> --
> Little Girl
>
> There is no spoon.
> _______________________________________________
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
_______________________________________________
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org

Reply via email to