Finally found the correct window size for the OpenMoko

git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@224 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
oepen
2010-07-16 09:16:04 +00:00
parent 77e37a83b3
commit cf57f76c2b
2 changed files with 3 additions and 3 deletions

View File

@@ -36,7 +36,8 @@ class MokoWindow(gtk.Window):
assert(isinstance(self.title_str, basestring))
self.connect("destroy", gtk.main_quit)
self.set_default_size(480, 640) #Display resolution of the OpenMoko
#Display resolution of OpenMoko minus height of the SHR toolbar
self.set_size_request(480, 640)
#self.set_resizable(False)
#Main VBox, which consists of the title, the body, and the buttons

View File

@@ -5,10 +5,9 @@
<object class="GtkWindow" id="MainWindow">
<property name="visible">True</property>
<property name="title" translatable="yes">Pinpad</property>
<property name="resizable">False</property>
<property name="window_position">center</property>
<property name="default_width">480</property>
<property name="default_height">640</property>
<property name="default_height">586</property>
<property name="icon">OpenPACElogo.png</property>
<signal name="destroy" handler="on_MainWindow_destroy"/>
<signal name="destroy_event" handler="on_MainWindow_destroy_event"/>