PB 6.30 b4 - ResizeWindow() not work
Posted: Sat Oct 25, 2025 7:44 pm
In Raspberry Pi OS (Kernel 6.12, Debian 12) when using qt subsystems, not work function ResizeWindow(). There is no problem with gtk subsystems. There is also no this problem with the qt subsystem in LInux Mint for PC.
The window is always centered on the screen even if there is no flag #PB_Window_ScreenCentered.
Code: Select all
Procedure Click()
ResizeWindow(0, 100, 100, #PB_Ignore, #PB_Ignore)
EndProcedure
If OpenWindow(0, 0, 0, 222, 200, "ButtonGadgets", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
ButtonGadget(0, 10, 10, 200, 20, "Standard Button")
BindGadgetEvent(0, @Click())
Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow
EndIf