|
|
| Author |
Message |
|
|
oren_peles Familiar Face
Joined: 20 Jan 2008 Posts: 5
|
Posted: Tue Feb 26, 2008 4:51 pm Post subject: Problem with screen resolution? |
|
|
Hi
I am making a GUI using GTK and have the following problem: when running the same code (but not same compilation) in two different machines (Red-hod and SUSE), the window look bigger (all the fonts etc) in one of them (SUSE) so there is no enough place to the window while in the first one (Red hot) ok. Why is it happened and how can I prevent this problem (through the code, hopefully).
Thanks
Oren |
|
| Back to top |
|
 |
Micah Carrick Never Seen the Sunlight
Joined: 21 Sep 2005 Posts: 465 Location: Portland, OR USA
|
Posted: Tue Feb 26, 2008 10:53 pm Post subject: |
|
|
It's not the code, it's the settings and/or theme of one system's window manager vs. the other. One system probably could not configure xorg properly for the display card and/or monitor and is at a very small (default?) resolution of 640x480 or 800x600.
The default GTK+ theme of one system could be different as well which could result in different padding, however, it would be minimal. |
|
| Back to top |
|
 |
oren_peles Familiar Face
Joined: 20 Jan 2008 Posts: 5
|
Posted: Wed Feb 27, 2008 5:32 am Post subject: |
|
|
Ok, thanks.
How can i check the default GTK+ theme?
Oren |
|
| Back to top |
|
 |
Micah Carrick Never Seen the Sunlight
Joined: 21 Sep 2005 Posts: 465 Location: Portland, OR USA
|
Posted: Wed Feb 27, 2008 3:41 pm Post subject: |
|
|
| In GNOME it will likely be under 'System' > 'Preferences' > 'Appearance'. |
|
| Back to top |
|
 |
|