Hi. This is my code. How i can set his components on left side on top? please help me.

<panel font-size="14">
  <tableLayout cellSpacing="10">
    <row/>
    <row heightPolicy="Dynamic">
      <cell columnSpan="3" hAlign="Left" vAlign="Top">
        <textLabel font-size="20" label="Log in to the Tutorial Application"/>
      </cell>
    </row>
    <row height="1"/>
    <row height="30">
      <cell width="100" hAlign="Left" vAlign="Top">
        <textLabel label="Username:"/>
      </cell>
      <cell columnSpan="2" hAlign="Left" vAlign="Top">
        <textField name="username" autoComplete="Y"/>
      </cell>
    </row>
    <row height="30">
      <cell hAlign="Left" vAlign="Top">
        <textLabel label="Password:"/>
      </cell>
      <cell columnSpan="2" hAlign="Left" vAlign="Top">
        <passwordField name="password"/>
      </cell>
    </row>
    <row height="30">
      <cell hAlign="Left" vAlign="Top">
        <textLabel label="Remember Me:"/>
      </cell>
      <cell columnSpan="2" hAlign="Left" vAlign="Top">
        <checkBox name="rememberMe"/>
      </cell>
    </row>
    <row height="30">
      <cell/>
      <cell columnSpan="2" hAlign="Left" vAlign="Top">
        <button font-color="#303030" font-style="Bold" label="Log In"/>
      </cell>
    </row>
    <row height="1"/>
    <row/>
  </tableLayout>
</panel>

asked 22 Oct '12, 21:56

lezgin's gravatar image

lezgin
71421
accept rate: 0%

edited 22 Oct '12, 22:32

formspider's gravatar image

formspider ♦♦
138210


You should remove the empty <row/> on top of your panel.

link

answered 22 Oct '12, 22:59

oskansavli's gravatar image

oskansavli ♦♦
3604
accept rate: 45%

)))))))))))))). So easy. thank you.

(22 Oct '12, 23:01) lezgin
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×2

Asked: 22 Oct '12, 21:56

Seen: 841 times

Last updated: 22 Oct '12, 23:03

Related questions


© Copyright Gerger 2017