GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Thu Oct 23, 2014 4:32 pm

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Problem with screen resolution?
PostPosted: Tue Feb 26, 2008 4:51 pm 
Offline
Familiar Face

Joined: Sun Jan 20, 2008 3:38 pm
Posts: 6
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


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 26, 2008 10:53 pm 
Offline
Never Seen the Sunlight

Joined: Wed Sep 21, 2005 12:07 am
Posts: 563
Location: Portland, OR USA
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.

_________________
Micah Carrick - Forum Administrator
http://www.micahcarrick.com


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 27, 2008 5:32 am 
Offline
Familiar Face

Joined: Sun Jan 20, 2008 3:38 pm
Posts: 6
Ok, thanks.
How can i check the default GTK+ theme?
Oren


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 27, 2008 3:41 pm 
Offline
Never Seen the Sunlight

Joined: Wed Sep 21, 2005 12:07 am
Posts: 563
Location: Portland, OR USA
In GNOME it will likely be under 'System' > 'Preferences' > 'Appearance'.

_________________
Micah Carrick - Forum Administrator
http://www.micahcarrick.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group