roundabout,
created on Tuesday, 13 May 2025, 15:22:22 (1747149742),
received on Tuesday, 13 May 2025, 15:22:25 (1747149745)
Author identity: vlad <vlad.muntoiu@gmail.com>
5297f6c4bd3b2563a47baa1788be172c4f461dcf
src/__init__.py
@@ -29,6 +29,7 @@ from pathlib import Path
from typing import AsyncIterable, AsyncIterator, Collection, TypeVar, Iterable, Callable, Any gi.require_version("Gtk", "3.0") gi.require_version("Pango", "1.0")from gi.repository import Gtk, Gdk, Pango, GLib import gettext import json
@@ -87,12 +88,14 @@ class ResultInfoWidget(Gtk.ListBoxRow):
self.box.pack_start(self.image, False, False, 0) self.label_box = Gtk.Box(orientation=Gtk.Orientation.VERTICAL) self.label_box.set_valign(Gtk.Align.START)self.box.pack_start(self.label_box, True, True, 0) self.name_label = Gtk.Label(label=self.name) self.name_label.set_line_wrap(True) self.name_label.set_justify(Gtk.Justification.LEFT) self.name_label.set_halign(Gtk.Align.START) self.name_label.set_line_wrap_mode(Pango.WrapMode.WORD_CHAR)attributes = Pango.AttrList() attributes.insert(Pango.AttrSize.new(16 * Pango.SCALE)) self.name_label.set_attributes(attributes)
@@ -103,6 +106,7 @@ class ResultInfoWidget(Gtk.ListBoxRow):
self.description_label.set_line_wrap(True) self.description_label.set_justify(Gtk.Justification.LEFT) self.description_label.set_halign(Gtk.Align.START) self.description_label.set_line_wrap_mode(Pango.WrapMode.WORD_CHAR)self.label_box.pack_start(self.description_label, True, True, 0)