NetTalk Central

Author Topic: How to center a browse  (Read 5100 times)

John Fligg

  • Sr. Member
  • ****
  • Posts: 361
    • View Profile
    • Ambrit Software
    • Email
How to center a browse
« on: January 21, 2012, 07:32:34 AM »
As per the attached screenshot the browse control is left aligned. Is there any way to center this on the screen in mobile mode?

Maybe I am missing something.

Thanks

John

[attachment deleted by admin]

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11302
    • View Profile
Re: How to center a browse
« Reply #1 on: January 23, 2012, 12:55:00 AM »
the short answer is no.
the slightly longer answer is yes, but only if you know the width of your browse. since in this case the width is dependent on the names themselves that becomes a bit hit-and-miss.

The solution in your case to making it look a bit prettier is to set the minimum width of the whole browse, to the width of the screen (100% methinks, but I haven't experimented).

Bruce

John Fligg

  • Sr. Member
  • ****
  • Posts: 361
    • View Profile
    • Ambrit Software
    • Email
Re: How to center a browse
« Reply #2 on: January 23, 2012, 02:36:27 AM »
No did not work. Not to worry - not the greatets issue I have right now.

Thanks

john

Mike Grigsby

  • Sr. Member
  • ****
  • Posts: 380
    • Yahoo Instant Messenger - onthedotsoftware
    • View Profile
    • MyHomeAssets! Software (among others)
Re: How to center a browse
« Reply #3 on: January 24, 2012, 08:29:19 PM »
John, This is one of those things that annoys me to no end, but I understand why it is the way it is. However, I've been re-designing my app to use the XP Task panel on the left, like the Accounts example, and visually it is more tolerable, and makes more sense than a menu across the top.

My only glitch is I have to figure out why my procs seem to break out of the XP Panel when I go to them.

Mike Grigsby
Credify Systems
Mike Grigsby
Credify Systems
Central Oregon, USA

John Fligg

  • Sr. Member
  • ****
  • Posts: 361
    • View Profile
    • Ambrit Software
    • Email
Re: How to center a browse
« Reply #4 on: January 25, 2012, 12:31:16 AM »
Hi Mike

I am not worried about the NON monile display as I can fill that up with stuff. For the lookup tables where there is only one column it is also OK as no one usually uses those much.

My problem is specific to the mobile situation.

I use the accordian menu and have no issue with that at all.

John

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11302
    • View Profile
Re: How to center a browse
« Reply #5 on: January 25, 2012, 01:03:10 AM »
Hi Mike,

>> However, I've been re-designing my app to use the XP Task panel on the left, like the Accounts example, and visually it is more tolerable, and makes more sense than a menu across the top.

You may want to use TaskPanel type rather than XP TaskPanel type. The XP one is marked for deprecation in NT6 (ie it's still there, but will be phased out eventually).

Also, with a view to going mobile, and with a view to more flexibility later on, it's probably best not to use frames anymore if you can help it. See http://www.capesoft.com/docs/NetTalk6/NetWebTasks.htm#ConvertFrames from more information on converting a Frames app to Non-Frames. (hint: it's easier than you think.)

Cheers
Bruce