Hi,
Now I have the proof that this problem is not in my PowerApps app program, it is not a programming error on my end, rather it is at the backhand end of the PowerApps engine in the cloud.
Here is what I did:
1. Started a new blank PowerApps program with tablet layout.
2. After the blank screen shows up, insert a Gallery
3. Connect the data by selecting my SQL server table (the on-premise gateway was setup already).
4. Select the data display format in Title, SubTitle, Body
5. Save the program.
6. Reopen the program in application mode by double clicking the program name (rather than openning it for editing in web).
The new program would have some separator lines missing, although in web editing mode, every separator line deos exist for this program.
This should serve as a method to duplicate this problem on your end. Hopefully this is something not hard to fix.
Thanks.