Changeset 441:226907f421a6


Ignore:
Timestamp:
02/23/13 14:52:55 (12 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Made the delay code table to be as wide as the window (re #154)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/gui/info.py

    r438 r441  
    7878
    7979        alignment = gtk.Alignment(xalign = 0.5, yalign = 0.5,
    80                                   xscale = 0.0, yscale = 0.0)
     80                                  xscale = 1.0, yscale = 1.0)
    8181        alignment.set_padding(padding_top = 4, padding_bottom = 4,
    8282                              padding_left = 8, padding_right = 8)
     
    8585        self._delayWindow = scrolledWindow = gtk.ScrolledWindow()
    8686        scrolledWindow.add(table)
    87         scrolledWindow.set_size_request(600, 175)
     87        scrolledWindow.set_size_request(-1, 185)
    8888        scrolledWindow.set_policy(POLICY_AUTOMATIC, POLICY_AUTOMATIC)
    8989        scrolledWindow.set_shadow_type(SHADOW_IN)
     
    9393
    9494        self._delayAlignment = gtk.Alignment(xalign = 0.5, yalign = 0.5,
    95                                              xscale = 0.0, yscale = 0.0)
     95                                             xscale = 1.0, yscale = 1.0)
    9696        self._delayAlignment.add(frame)
     97        self._delayAlignment.set_padding(padding_top = 0, padding_bottom = 0,
     98                                         padding_left = 8, padding_right = 8)
    9799
    98100        self.pack_start(self._delayAlignment, False, False, 8)
Note: See TracChangeset for help on using the changeset viewer.