~dobey/ubuntuone-control-panel/use-dirspec

« back to all changes in this revision

Viewing changes to ubuntuone/controlpanel/gui/qt/tests/test_preferences.py

  • Committer: Tarmac
  • Author(s): Roberto Alsina
  • Date: 2012-05-15 15:31:32 UTC
  • mfrom: (322.1.1 kibblebytes)
  • Revision ID: tarmac-20120515153132-elyw1mkygu25sc2p
 - Replaced "Kilobits per second" labels with units in the spinboxes (Fixes lp:984484)

Show diffs side-by-side

added added

removed removed

Lines of Context:
308
308
                wrap_calls, check, (size, text)))
309
309
        self.ui.setFixedWidth(1000)
310
310
        size_bandwidth = (self.ui.ui.bandwidth_settings.width() -
311
 
            self.ui.ui.upload_speed_spinbox.width() -
312
 
            self.ui.ui.kbps_label_1.width())
 
311
            self.ui.ui.upload_speed_spinbox.width())
313
312
        padding = 160  # Left and Right Padding
314
313
        size_sync = (self.ui.ui.file_sync_settings.width() - padding)
315
314
        self.ui.show()