B4X:
Sub Process_Globals
Private fx As JFX
Private frm As Form
Private pane1 As Pane
Private lbl As Label
End Sub
Sub AppStart (Form1 As Form, Args() As String)
frm.Initialize("frm",600,600)
pane1.Initialize("pane1")
pane1.Style="-fx-background-color: yellow;"
frm.RootPane.AddNode(pane1,150,150,300,300)
lbl.Initialize("lbl")
lbl.Style="-fx-background-color: cyan;"
pane1.AddNode(lbl,-150,0,300,20)
frm.Show
End Sub
run this code. the outcome is a view(lbl) that exceeds /overlap the container border.
my target is that the part of the view(lbl) that is out of the container boundaries will not be seen, but still, keep the view(lbl) size unchanged.
in vb6, what i'm after is the default behavior.
HowTo ?
Thank you