B4J Question Second Window has wrong size on Mac

BPak

Active Member
Licensed User
Longtime User
I have been Making a program with a sizeable main window with several other Utility windows which are not resizable.

It all works fine on Windows. But on the Mac the main window works exactly as in Windows but the Utility window is wrong size.

I have tried several different ways of locking controls to windows but still it just comes out wrong.

Can anyone suggest a fix for this problem?

I have the code and the Mac Image of the program attached.
 

Attachments

  • MyHouse.zip
    2.4 KB · Views: 234
  • MyHouse.png
    MyHouse.png
    38 KB · Views: 245

BPak

Active Member
Licensed User
Longtime User
On the Mac it is 75.

ItemEd.Text = 100dip returned 75.

I found another way that works ok.

B4X:
frm.Initialize("frm", -1, -1)
 
Upvote 0

BPak

Active Member
Licensed User
Longtime User
Yes it does look correct.

B4X:
frm.Initialize("frm", 550, 360)
 

Attachments

  • MyHouse.png
    MyHouse.png
    63.8 KB · Views: 249
Upvote 0
Top