Re: GTK3 Glade and rendering in Windows/Linux]




That works, but this only does work on Linux.
On Windows it reads the css file but the css is not applied.

http://wikistack.com/use-css-gtk/
With  as css:

window 
{
  background-color:rgba(233,23,34,1);
}

Thanks


On Sun, 2017-02-19 at 08:25 -0800, Phil Wolff wrote:
In the example you cite, the css file should read

window {
background-color:rgba(233,23,34,1);
}


On 02/19/2017 04:33 AM, Happy wrote:
I dont mind the windows theme to look different than the Ubuntu
one, if
it looks close or equal to native Windows, that would be great.
The concern is, under windows the spacing is pretty large.
So, I started to look at css, compiled and run this (non glade)
example
: http://wikistack.com/use-css-gtk/
As with my own (glade0 application, the css  seems not being
applied,
My window is still grey instead of red.


On Tue, 2017-01-31 at 14:50 +0100, Tilo Villwock wrote:
Well for one: The appearance on Ubuntu deviates from the default
GTK
theme, so I'm not really sure if the comparison makes sense.

Also, did you actually verify that this is a problem, that
pertains
to
Glade only?

Either way, if it bothers you too much, you have to start
tweaking
the
css style context.

--Tilo

Am Dienstag, den 31.01.2017, 20:54 +0800 schrieb Happy:
Thanks for the note. Hope the following links work. As you can
see
the
windows are much different in size as well as the spacing.

Ubuntu:
https://drive.google.com/file/d/0BxjwKUaYdW_zYnUydWExX2NNdE0/vi
ew?u
sp
=s
haring

Windows:
https://drive.google.com/file/d/0BxjwKUaYdW_zeFhZdFYtelViUGM/vi
ew?u
sp
=s
haring

Glade.glade file:
https://drive.google.com/file/d/0BxjwKUaYdW_zYWY4UnZweDhRbGc/vi
ew?u
sp
=s
haring

Thanks


On Tue, 2017-01-31 at 20:09 +1100, Daniel Kasak wrote:
Neither of your messages had any attachments. Probably
they're
stripped out by the mailing list server. If you're trying to
point
people to files, screenshots, etc, try  chucking them on a
blog
or
pastebin or something.

Dan

On Sun, Jan 29, 2017 at 12:44 PM, Happy
<happy debugging gmail com>
wrote:
Attached is a glade file. These render as seen in the
attachments
in
Windows and Ubuntu(16.10). In Windows(10) the window is far
larger
as
well as is for the spacing. It there a away to get the
spacing
and
size
down alike the rendering in Windows ? I guess this is not
so
much
related to glade but more towards GTK, but if this
assumption
is
wrong,
then apologies for posting.

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

-- 
Saying what we think gives us a wider conversational range than
saying 
what we know.
    — Cullen Hightower
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]