I have a Panel on the Activity and its Left is set to 2
On the Panel I have a ToggleButton whose Left is set to zero
The buttons parent was set to the Panel automatically.
Moving the button shows it is a child because it will not move off the Panel.
The buttons Left when run on the emulator is two pixels right from the Panel edge.
Setting the button Left to -2 does solve it.
If I set the Panel Left to zero the button appears 2 pixels right of the edge.
In addition I also note that if I draw a rectangle on the Activity, at y=zero x=zero the left line shows but the top line is (presumably) under the grey box showing the word Activity and so x+1 cures it.
Is this something that has to be worked around or more likely is there something that I have failed to understand please?
On the Panel I have a ToggleButton whose Left is set to zero
The buttons parent was set to the Panel automatically.
Moving the button shows it is a child because it will not move off the Panel.
The buttons Left when run on the emulator is two pixels right from the Panel edge.
Setting the button Left to -2 does solve it.
If I set the Panel Left to zero the button appears 2 pixels right of the edge.
In addition I also note that if I draw a rectangle on the Activity, at y=zero x=zero the left line shows but the top line is (presumably) under the grey box showing the word Activity and so x+1 cures it.
Is this something that has to be worked around or more likely is there something that I have failed to understand please?