[ocrfeeder] Align the Preferences dialog's labels to the left
- From: Joaquim Manuel Pereira Rocha <jrocha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ocrfeeder] Align the Preferences dialog's labels to the left
- Date: Mon, 22 Dec 2014 00:12:57 +0000 (UTC)
commit c2a791e1175788a0d874420b115ef02075b11b9d
Author: Joaquim Rocha <me joaquimrocha com>
Date: Sun Dec 21 22:50:49 2014 +0000
Align the Preferences dialog's labels to the left
src/ocrfeeder/studio/widgetPresenter.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/ocrfeeder/studio/widgetPresenter.py b/src/ocrfeeder/studio/widgetPresenter.py
index c813acf..503eb76 100644
--- a/src/ocrfeeder/studio/widgetPresenter.py
+++ b/src/ocrfeeder/studio/widgetPresenter.py
@@ -1466,6 +1466,7 @@ class PreferencesDialog(Gtk.Dialog):
self.auto_window_size.set_active(True)
self.custom_window_size_entry.set_sensitive(False)
window_size_box = Gtk.VBox()
+ window_size_box.set_property('halign', Gtk.Align.START)
label = Gtk.Label(_("The window size is the detection algorithm's "
"subdivision areas' size."))
window_size_box.pack_start(label, False, False, 0)
@@ -1685,6 +1686,7 @@ class PreferencesDialog(Gtk.Dialog):
'support the one chosen, it may result in blank text.\n'
'You can choose "No Language" to prevent this.'))
alignment = Gtk.Alignment.new(0, 0, 1, 0)
+ alignment.set_property('halign', Gtk.Align.START)
label.set_line_wrap(True)
alignment.add(label)
vbox.pack_start(alignment, False, False, 12)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]