NetTalk Central

Author Topic: Column Width using relative setting  (Read 5454 times)

Rene Simons

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Column Width using relative setting
« on: July 10, 2019, 02:04:46 AM »
Hi Bruce,

I remember you explaining the relative column witdth in Browses in DIV-mode.
Do you have a hint where I cab find sone docs about that?

Cheers,
René
Rene Simons
NT14.14

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11251
    • View Profile
Re: Column Width using relative setting
« Reply #1 on: July 10, 2019, 11:31:41 PM »
It's discussed briefly here;
https://www.capesoft.com/docs/NetTalk11/NetTalkWebBasic.htm#ResponsiveLayouts

And I think in some user group webinars.

But I'm not sure if you have a question that needs answering?

cheers
Bruce

Rene Simons

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Re: Column Width using relative setting
« Reply #2 on: July 10, 2019, 11:49:03 PM »
Hi Bruce,

I am still researching how to get to grips with creating a PWA.
I have set the html mode to <div> but I am not happy with the way the browse appears in my phone screen.
I want all my buttons and data on one line. Like it was when I was still in <table> mode.
There is very little data to show and I know it an be done in <table> mode so why not in <div> mode.

That's why I want to know how to manipulate things.

Cheers,
René
Rene Simons
NT14.14

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11251
    • View Profile
Re: Column Width using relative setting
« Reply #3 on: July 11, 2019, 10:56:53 PM »
Hi Rene,

>> I have set the html mode to <div> but I am not happy with the way the browse appears in my phone screen.
>> I want all my buttons and data on one line. Like it was when I was still in <table> mode.
>> There is very little data to show and I know it an be done in <table> mode so why not in <div> mode.

It can be done in div mode, but it seems you haven't figured out how yet :)

You have many options.
a) set this particular browse to be in Table mode. (Table mode is fine on a small screen as long as it fits).
b) move all the columns on the browse into the same cell.
c) set the widths of the columns in the browse to your requirements.

This might be a good exercise to work through in a webinar. If you want to send me the app we can go through it next Thursday. Just remember to ask me at the time so I remember.

Cheers
Bruce

Rene Simons

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Re: Column Width using relative setting
« Reply #4 on: July 12, 2019, 12:06:04 AM »
Hi Bruce,

Good idea.
I'll send you the app, dct and some data (is that all you need?).
It is very small.
As an aditional question: I would like icons on buttons but just show the icons or use icons as buttons.

Cheers,
René
Rene Simons
NT14.14