Page 2 of 2

Re: Cannot show scrollbars in androi

Posted: Fri Jun 09, 2017 10:32 am
by IdeasVacuum
You are right nicalejo - although most apps for smartphones probably wouldn't want a title bar anyway, they may well serve a purpose on Android tablets/laptops. Therefore, I think it's a possible bug. I also found that the window does not want to resize, with or without a title bar.

However, I have not found any reference to the minimum Android version support by an SB app - my phone is only 4.4.4. When I have a chance, will test again on a tablet with Android 5.1

Edit: Oh dear, SB locks up on 'Deploying App' - Abort fails too.

Re: Cannot show scrollbars in androi

Posted: Sun Jun 11, 2017 6:50 am
by JackWebb
IdeasVacuum, you gave me the key, is just a matter of the attribute #PB_Window_BorderLess, changing the line in my code by

If OpenWindow(0, 0, 0, 305, 140, "ScrollAreaGadget", #PB_Window_SystemMenu | #PB_Window_BorderLess | #PB_Window_ScreenCentered)

it works, It has no sense for me but this is the reason. Your code does not scroll without the PB_Window_BorderLess
Interesting discovery, however. I tried this in tabbed view (PanelGadget()) and the scroll bar disappears when switching between tabs :(

I don't think the scroll bars are completely necessary, at least on not a smart phone. Your fingers would be too fat for the scroll buttons. But on a smart TV or Windows, scroll bars would be nice.