Alignment of an image
Alignment of an image
Is there a possibility to align a picture on the window?
Re: Alignment of an image
Isnt the normal way or rapagui with vgroup hgroup etc
Working for you?
Working for you?
Christos
Re: Alignment of an image
Ok, for an exampel i want to force the image in the rapagui Demo Image.hws to the left site.
But the image is always centred
Code: Select all
<?xml version="1.0" encoding="iso-8859-1"?>
<application id="app">
<window title="Image">
<hgroup>
<vgroup>
<rectangle/>
<hgroup frame="true" halign="left">
<rectangle/>
<image id="image" brush="1"/>
<rectangle/>
</hgroup>
<button id="flip">Flip</button>
<rectangle/>
</vgroup>
</hgroup>
</window>
</application>
Re: Alignment of an image
remove the rectangle from the side you want to align
rectangle auto resizes
rectangle auto resizes
Code: Select all
<?xml version="1.0" encoding="iso-8859-1"?>
<application id="app">
<window title="Image">
<hgroup>
<vgroup>
<rectangle/>
<hgroup frame="true" halign="right">
<rectangle/>
<image id="image" brush="1"/>
;<rectangle/>; THIS
</hgroup>
<button id="flip">Flip</button>
<rectangle/>
</vgroup>
</hgroup>
</window>
</application>
Christos
Re: Alignment of an image
Ahhh!
Thank you very much!
Thank you very much!