GTK+ Forums Forum Index GTK+ Forums
Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problem with screen resolution?

 
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming
Author Message
oren_peles
Familiar Face


Joined: 20 Jan 2008
Posts: 5

PostPosted: Tue Feb 26, 2008 4:51 pm    Post subject: Problem with screen resolution? Reply with quote

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: 481
Location: Portland, OR USA

PostPosted: Tue Feb 26, 2008 10:53 pm    Post subject: Reply with quote

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

PostPosted: Wed Feb 27, 2008 5:32 am    Post subject: Reply with quote

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: 481
Location: Portland, OR USA

PostPosted: Wed Feb 27, 2008 3:41 pm    Post subject: Reply with quote

In GNOME it will likely be under 'System' > 'Preferences' > 'Appearance'.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group
CodeBB 1.0 Beta 2
Protected by Anti-Spam ACP