NetTalk Central

Author Topic: Button height  (Read 3193 times)

Rene Simons

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Button height
« on: December 01, 2010, 10:50:54 PM »
Hi,

I use a button in every browse line.
The button action = other and the button type = button.
When I assign a text to the button, the button height increases.
I would like the button to fit in the original line height.
How can I achieve that?

I also have another question pending which gets a lot of views but no answers it seems:

When I add an EIP change button in a browse, the change:isInvalid appears twice in the procedure.

TableQueue  Queue,pre(TableQueue)
kind          Long
row           String(size(packet))
id            String(256),dim(Net:MaxKeyFields)
idx           String(Net:HashSize)
sub           Long
            End
Change:IsInvalid  Long
View5:IsInvalid  Long
Change:IsInvalid  Long
Delete4:IsInvalid  Long
loc:total               decimal(31,15),dim(200)

Also the value::Change   Routine is generated twice in the procedure.

Is this a bug??

Regards,
Rene
Rene Simons
NT14.14

ccordes

  • Sr. Member
  • ****
  • Posts: 384
    • View Profile
    • Email
Re: Button height
« Reply #1 on: December 02, 2010, 04:52:37 AM »
Button height grows with content and yours sounds like it is wrapping. It seems to be more connected to font size than anything else. I use 'nt-small-button' for the css class.

As far as the EIP question, do you have a field or fields in your browse that have no Equate filled in. It is what is used to generate the routine and variable names. You may have 2 blank ones.
Real programmers use copy con newapp.exe

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Button height
« Reply #2 on: December 03, 2010, 12:33:39 AM »
>> Also the value::Change   Routine is generated twice in the procedure.
>> Is this a bug??

no, I don't think so (but feel free to post me an example app).

The cause is that you have 2 buttons on the row with the same Use Equate.
Change one of them to something else.

Cheers
Bruce