summaryrefslogtreecommitdiffstats
path: root/pyanaconda/ui
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2013-01-31 17:08:10 +0000
committerChris Lumens <clumens@redhat.com>2013-02-05 15:02:08 +0000
commit1b589b572d71ed49458b0db2738719face25fa18 (patch)
tree00d958b15e0c185a1bc67283a83492d7d198952e /pyanaconda/ui
parent77fc4ce960a469666f9c4b40f8144145c1b25b07 (diff)
downloadanaconda-1b589b572d71ed49458b0db2738719face25fa18.tar.gz
anaconda-1b589b572d71ed49458b0db2738719face25fa18.tar.xz
anaconda-1b589b572d71ed49458b0db2738719face25fa18.zip
Make the custom partitioning bullet points take up less horizontal space.
Diffstat (limited to 'pyanaconda/ui')
-rw-r--r--pyanaconda/ui/gui/spokes/lib/accordion.py16
1 files changed, 13 insertions, 3 deletions
diff --git a/pyanaconda/ui/gui/spokes/lib/accordion.py b/pyanaconda/ui/gui/spokes/lib/accordion.py
index 58f3b510e..adb6e4a3e 100644
--- a/pyanaconda/ui/gui/spokes/lib/accordion.py
+++ b/pyanaconda/ui/gui/spokes/lib/accordion.py
@@ -239,13 +239,17 @@ class CreateNewPage(Page):
label = Gtk.Label(_("You haven't created any mount points for your %s %s installation yet. You can:") % (productName, productVersion))
label.set_line_wrap(True)
+ label.set_alignment(0, 0.5)
self._createBox.attach(label, 0, 0, 2, 1)
- self._createBox.attach(Gtk.Label("•"), 0, 1, 1, 1)
+ dot = Gtk.Label("•")
+ dot.set_hexpand(False)
+ self._createBox.attach(dot, 0, 1, 1, 1)
self._createNewButton = Gtk.LinkButton("", label=_("_Click here to create them automatically."))
label = self._createNewButton.get_children()[0]
label.set_alignment(0, 0.5)
+ label.set_hexpand(True)
label.set_line_wrap(True)
label.set_use_underline(True)
@@ -255,18 +259,24 @@ class CreateNewPage(Page):
self._createNewButton.connect("activate-link", lambda *args: Gtk.true())
self._createBox.attach(self._createNewButton, 1, 1, 1, 1)
- self._createBox.attach(Gtk.Label("•"), 0, 2, 1, 1)
+ dot = Gtk.Label("•")
+ dot.set_hexpand(False)
+ self._createBox.attach(dot, 0, 2, 1, 1)
label = Gtk.Label(_("Create new mount points by clicking the '+' button."))
label.set_alignment(0, 0.5)
+ label.set_hexpand(True)
label.set_line_wrap(True)
self._createBox.attach(label, 1, 2, 1, 1)
if partitionsToReuse:
- self._createBox.attach(Gtk.Label("•"), 0, 3, 1, 1)
+ dot = Gtk.Label("•")
+ dot.set_hexpand(False)
+ self._createBox.attach(dot, 0, 3, 1, 1)
label = Gtk.Label(_("Or, assign new mount points to existing partitions after selecting them below."))
label.set_alignment(0, 0.5)
+ label.set_hexpand(True)
label.set_line_wrap(True)
self._createBox.attach(label, 1, 3, 1, 1)