[Geany-Users] Re: Raspberry pi

2023-10-23 Thread Lex Trotman via Users
This is the mailing list for the Geany IDE.  You are more likely to
get answers about CSS on a more appropriate forum.

Cheers
Lex

On Tue, 24 Oct 2023 at 15:36, Michael Dmytrasz via Users
 wrote:
>
> I am running a raspberry pi 4 64 bit and trying to create a web site. The 
> thing I am haveing trouble with is css grid. Is there a problem with css grid 
> on the raspberry pi?
> ___
> 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


[Geany-Users] Raspberry pi

2023-10-23 Thread Michael Dmytrasz via Users
I am running a raspberry pi 4 64 bit and trying to create a web site. The thing 
I am haveing trouble with is css grid. Is there a problem with css grid on the 
raspberry pi?___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: 2.0

2023-10-23 Thread Georg Klingenberg via Users

there are also relative lengths 

On 23.10.2023 20:13, Little Girl via Users wrote:

Hey there,

Lex Trotman via Users wrote:


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

That's a shame. Luckily, I haven't yet run into that.


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

It sounds like they could use a margin for error.
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: 2.0

2023-10-23 Thread Little Girl via Users
Hey there,

Lex Trotman via Users wrote:

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

That's a shame. Luckily, I haven't yet run into that.

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

It sounds like they could use a margin for error.

-- 
Little Girl

There is no spoon.
___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: 2.0

2023-10-23 Thread Georg Klingenberg via Users

the*font size em* puts the widget right into the middle (don't laugh)

progressbar trough {
    margin-bottom: 1em;
}

On 22.10.2023 15:23, Enrico Tröger via Users wrote:

On 22.10.23 02:25, Lex Trotman via Users wrote:

On Sun, 22 Oct 2023 at 05:53, Enrico Tröger via Users
 wrote:


On 21.10.23 18:21, Georg Klingenberg via Users wrote:

when running Pylint


Interesting, it's the same here (with another theme than Adwaita).
AFAIR the progress bar was always at the right side of the status bar
but it filled the full height (vertically).


Yeah, but it went on a diet :-)

Here by default it is not in the middle, but not right on the bottom 
either.


And as I said geany.css can move it:

progressbar {
 margin: 10px 10px 20px 10px;
}

thats top right bottom left and you may need to adjust the values for
your screen resolution.


For me the following works:


progress {
min-height: 10px;
}
progressbar trough {
padding-top: 5px;
padding-bottom: 5px;
}

This will ensure the progressbar has a height of 10px and so requires 
more space and is better visible.


Though it doesn't position it and maybe you need to tweak the pixel 
values to match the height of your statusbar.


I got this by searching the net and trial and error.
Thank you, GTK3 (and hooray, GTK4 got even worse).

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 :( ).


HTH.

Regards,
Enrico



___
Users mailing list --users@lists.geany.org
To unsubscribe send an email tousers-le...@lists.geany.org___
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org


[Geany-Users] Re: 2.0

2023-10-23 Thread Georg Klingenberg via Users
thank you for all the efforts (seems to be a foggy walk on pixels: 
sickening for a GUI)


this is about how it was in 1.38

progressbar trough {
    margin-bottom: 7;
}

On 22.10.2023 15:23, Enrico Tröger via Users wrote:

On 22.10.23 02:25, Lex Trotman via Users wrote:

On Sun, 22 Oct 2023 at 05:53, Enrico Tröger via Users
 wrote:


On 21.10.23 18:21, Georg Klingenberg via Users wrote:

when running Pylint


Interesting, it's the same here (with another theme than Adwaita).
AFAIR the progress bar was always at the right side of the status bar
but it filled the full height (vertically).


Yeah, but it went on a diet :-)

Here by default it is not in the middle, but not right on the bottom 
either.


And as I said geany.css can move it:

progressbar {
 margin: 10px 10px 20px 10px;
}

thats top right bottom left and you may need to adjust the values for
your screen resolution.


For me the following works:


progress {
min-height: 10px;
}
progressbar trough {
padding-top: 5px;
padding-bottom: 5px;
}

This will ensure the progressbar has a height of 10px and so requires 
more space and is better visible.


Though it doesn't position it and maybe you need to tweak the pixel 
values to match the height of your statusbar.


I got this by searching the net and trial and error.
Thank you, GTK3 (and hooray, GTK4 got even worse).

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 :( ).


HTH.

Regards,
Enrico



___
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