quan
(Nguyễn Hồng Quân)
January 25, 2025, 3:14am
1
I am writing a GTK4 app, which has AdwToolbarView
.
Sometimes the layout is broken when a widget changes its state, like below:
Before I open the expander on the bottom right:
After I open the expander:
Note that the preview on the left disappears and a “AdwToolbarView exceeds…” warning is thrown in the console.
Please guide me how to fix it. App source code: quan/CoBangB: In-progress attempt to port CoBang to GTK4 - Codeberg.org
quan
(Nguyễn Hồng Quân)
January 25, 2025, 9:06am
2
Turn out that the warning message and the disappearance of widget are different issues.
For warning message, I fixed it by putting AdwToolbarView
’s content inside a GtkScrolledWindow
.
quan
(Nguyễn Hồng Quân)
January 26, 2025, 9:10am
3
Fixed the layout breakge. I need to put TextView
(under “Raw result”) to a ScrolledWindow
, too.
1 Like
system
(system)
Closed
February 9, 2025, 9:10am
4
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.