Is there a way to determine the vertical position for the horizontal bar in a ScrollAreaGadget() so it's visible using the Qt subsystem? Inner and frame coordinate have the same value. Thank you.
PB 6.02
Kubuntu 22.04
Qt 5.15.3
Kernal 5.15.0-101 64 bit
Graphics Platform X11
Plasma Version 5.24.7 ...
Search found 3 matches
- Tue Mar 19, 2024 7:11 pm
- Forum: Linux
- Topic: Qt - Any workaround for ScrollAreaGadget()?
- Replies: 0
- Views: 1003
- Wed Mar 22, 2023 8:30 pm
- Forum: Coding Questions
- Topic: ResizeGadget() with DPI Aware Compiler Option
- Replies: 5
- Views: 662
Re: ResizeGadget() with DPI Aware Compiler Option
Apologies, guess it works as meant to. The gadget floats out away from the mouse pointer as I move the pointer down in the window on my monitor. 4K set at 150% scaling. Thank you for the replies.
- Wed Mar 22, 2023 6:43 pm
- Forum: Coding Questions
- Topic: ResizeGadget() with DPI Aware Compiler Option
- Replies: 5
- Views: 662
ResizeGadget() with DPI Aware Compiler Option
The following snippet works as expected with DPI Aware option unchecked. With DPI checked ResizeGadget() does not seem to be working properly.
Tested with Windows 10, 11
PB 6.00 and 6.01.
If OpenWindow(0,0,0,800,600,"",#PB_Window_SystemMenu | #PB_Window_ScreenCentered)
ButtonGadget(0,20,20,80 ...
Tested with Windows 10, 11
PB 6.00 and 6.01.
If OpenWindow(0,0,0,800,600,"",#PB_Window_SystemMenu | #PB_Window_ScreenCentered)
ButtonGadget(0,20,20,80 ...