Other projects
#17 focus doesn't jump properly |
2009-01-29 00:46 | | | Major |
| Submit by pandora808 | |||
| State: | Opened |
|---|---|
| Priority: | Major |
| Type: | Bug |
| Milestone: | 1.2.0 |
| Release: | Kuix 1.0.1 |
| Body: | |
if I have a horizontal list in a horizontal scrollpane, and a textfield below, I can't go up from the textfield to the list if the list has less than 3 items. I CAN go left to get up there (oddly enough), but i can't go UP, obviously confusing users, as the textfield is below the list.
here's the xml:
|
|
Comments
| pandora808 2009-01-29 00:46 | for it to work with only ONE button in the scrollpane, you have to set the sld even lower |
|---|
| Bo 2009-01-29 00:46 | I'm not sure to understand your problem. I try your two piece of code and it works in all case. |
|---|


I narrowed it down to the width of the static layout, and then i narrowed down the value to the cutoff that works/fails. If I set the width to 190, I can't go UP to focus the buttons, if I set the width to 189, it works fine.
WORKS:
<screen>
<container style="layout: inlinelayout(false, fill)">
<container style="layout: staticlayout">
<scrollpane showscrollbar="false" horizontal="true" style="layout-data: sld(left, 189, 48)">
<button class="conn"><picture src="fb_btn.png" /></button>
<button class="conn"><picture src="fb_btn.png" /></button>
</scrollpane>
</container>
<textfield id="title" />
</container>
</screen>
DOES NOT WORK:
<screen>
<container style="layout: inlinelayout(false, fill)">
<container style="layout: staticlayout">
<scrollpane showscrollbar="false" horizontal="true" style="layout-data: sld(left, 190, 48)">
<button class="conn"><picture src="fb_btn.png" /></button>
<button class="conn"><picture src="fb_btn.png" /></button>
</scrollpane>
</container>
<textfield id="title" />
</container>
</screen>