NetTalk Central

Author Topic: Mobile Controls Not Aligned  (Read 3864 times)

rupertvz

  • Sr. Member
  • ****
  • Posts: 323
    • View Profile
    • Email
Mobile Controls Not Aligned
« on: August 16, 2017, 06:11:05 AM »
Hi Guys,

Is there an easy way to organise controls (input fields) in a mobile site as these are completely not aligned.



« Last Edit: August 16, 2017, 06:21:28 AM by rupertvz »

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: Mobile Controls Not Aligned
« Reply #1 on: August 17, 2017, 01:59:48 AM »
Hi Rupert,

The trite answer is that it's managed by CSS.

The longer answer is that I'm moving away from the jQuery Mobile framework (it's officially deprecated in NT10)  for small screens, and instead adapting the desktop framework for small screens.

So the first thing to do I think is set the app to always be in Desktop mode (WebHandler procedure) and then work forward from there...

cheers
Bruce

rupertvz

  • Sr. Member
  • ****
  • Posts: 323
    • View Profile
    • Email
Re: Mobile Controls Not Aligned
« Reply #2 on: August 17, 2017, 02:27:27 AM »
Hi Bruce,

Thanks for this information.
I was just about to adjust a rather complex application for mobile framework.

Thus, if I understand correctly,
Needing a procedure to show differently in Mobile, (Let's say fewer columns in NWB)
= I have to make a copy of the desktop procedure and adjust that for Mobile?  Thus desktop & mobile procedures separately?
« Last Edit: August 17, 2017, 02:29:29 AM by rupertvz »

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: Mobile Controls Not Aligned
« Reply #3 on: August 18, 2017, 08:31:46 AM »
>>  I have to make a copy of the desktop procedure and adjust that for Mobile?  Thus desktop & mobile procedures separately?

absolutely not.

Perhaps we can chat about this at the next user group webinar?

cheers
Bruce