I think the problem is that when the scrollbars are added, the widget is placed inside a frame and the grid_rowconfigure/columnconfigure isn't working on the right object.
Created Text widget 'OUTPUT .!toplevel.!frame.!frame.!text {'self': <guitk.tk_text.Text object at 0x100579f90>, 'parent': <tkinter.ttk.Frame object .!toplevel.!frame>, 'window': <__main__.HelloWorldWindow object at 0x100c07b10>, 'row': 0, 'col': 0, 'kwargs_text': {}, 'event': <guitk.events.Event object at 0x100c1e710>}```
When a widget is created with scrolled_widget_factory, the geometry code will need to get the parent of the parent of the widget, not the parent. Perhaps a Widget class property that indicates whether the widget is created inside a frame.
I think the problem is that when the scrollbars are added, the widget is placed inside a frame and the grid_rowconfigure/columnconfigure isn't working on the right object.