Vertically centered get line problem

This forum is for eXpress++ general support.
Message
Author
User avatar
rdonnay
Site Admin
Posts: 4729
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Vertically centered get line problem

#11 Post by rdonnay »

Sorry, I thought that this problem had been resolved.

I'll look at it today.
The eXpress train is coming - and it has more cars.

User avatar
rdonnay
Site Admin
Posts: 4729
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Vertically centered get line problem

#12 Post by rdonnay »

It appears that much of your issue is due to the fact that you are using SAY and GET fonts that cause the objects to be created at different heights. This is why it is best that you always align SAYs to the BOTTOM and that you always use @ DCGUI_ROW, DCGUI_COL+10 when you are aligning GETS with SAYS. This insures that the bottom of each object is aligned with the bottom of the previous object.

Try this:

Code: Select all

@0,0 dcsay "DCSAY+GET"  get wget saysize 0 SAYLEFTBOTTOM
@ DCGUI_ROW,DCGUI_COL+10 DCPUSHBUTTON CAPTION "&Test" SIZE 10,1 ACTION {||test()}
@ DCGUI_ROW,DCGUI_COL+10 dcsay "DCSAY" saysize 0 SAYLEFTBOTTOM
@ DCGUI_ROW,DCGUI_COL+10 dcget wget2

@2,0 dcsay "DCSAY" saysize 0 SAYLEFTBOTTOM
@ DCGUI_ROW,DCGUI_COL+10 dcget wget3
@ DCGUI_ROW,DCGUI_COL+10 DCPUSHBUTTON CAPTION "&Test2" SIZE 10,1 ACTION {||test()}
@ DCGUI_ROW,DCGUI_COL+10  DCCHECKBOX wl PROMPT "Checkbox always low"
The eXpress train is coming - and it has more cars.

Post Reply