refactor: use Pango for font scaling instead of CSS classes

- Replace CSS-based zoom (px1-px99 classes) with Pango.FontDescription
- Fix bug in multi-insert: insert at start_itr instead of end_itr
- Add Pango-based font setup for mini-view widget
- Revamp stylesheet with Light Blue-Grey Glass theme
This commit is contained in:
2026-02-21 00:38:27 -06:00
parent eb9e124df5
commit 55d2d99d68
10 changed files with 131 additions and 209 deletions

View File

@@ -42,6 +42,9 @@ class CenterContainer(Gtk.Box):
glade_box = widget_registery.get_object("glade_box")
button = Gtk.Button(label = "Click Me!")
webkit_ui = WebkitUI()
webkit_ui.load_context_base_path()
button.connect("clicked", self._hello_world)
@@ -50,7 +53,7 @@ class CenterContainer(Gtk.Box):
self.add(button)
self.add(glade_box)
self.add( WebkitUI() )
self.add(webkit_ui)
def _hello_world(self, widget = None, eve = None):
logger.debug("Hello, World!")