Re: GTK3 Glade and rendering in Windows/Linux]



Finally could style with css and Glade in Windows adnd adjust the margins
(actually using padding as the margin seems not be able to change it while
in Linux it did).
"GtkWindow" (instead of "window") is what seems needed to be used in
Windows. Apparently Windows and Linux uses different css class tags for
styling.

Some other issues I am having:

1. Not able to set the background color of a GtkButton

GtkButton
{
   color: blue;
   padding: 0px 0px 0px 0px;
   margin: 0px 0px 0px 0px;
   font: "Segoe UI";
   font-size: 8px;
}

2. Not able to change the width and height of a GtkButton (only the font
color) - the default button styles a bit too large.

3. A  RadioButton both styles using GtkButton and GtkRadioButton

4.  Windows uses as default the "Segoe UI" font and when using this in CSS
the compiler reports:

      (win-gtk-cpp.exe:12088): Pango-WARNING **: couldn't load font ""Segoe
UI" Not-Rotated 8", falling back to "Sans Not-Rotated 8", expect ugly
output.
      (win-gtk-cpp.exe:12088): Pango-WARNING **: couldn't load font ""Segoe
UI" 8", falling back to "Sans 8", expect ugly output.

5. Not able to change the radio button more into the standard Windows style
(the circle).  Is this possible somehow ?

P.S the original attached .glade file does not load into the windows Glade
interface Designer. Are the Linux and Windows version not compatible ?


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