Commit 9e0c64b1 authored by Michel Le Bihan's avatar Michel Le Bihan Committed by Philipp Hörist

Change dataform to href markup URLs in instructions

parent b243c3c0
Pipeline #7315 canceled with stages
in 7 minutes and 44 seconds
......@@ -220,7 +220,8 @@ def add(self, form_grid, row_number):
class Instructions:
def __init__(self, instructions):
self._label = Gtk.Label(label=instructions)
self._label = Gtk.Label()
self._label.set_markup(make_href_markup(instructions))
self._label.set_line_wrap(True)
self._label.set_line_wrap_mode(Pango.WrapMode.WORD)
self._label.set_justify(Gtk.Justification.CENTER)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment