Nevermind,
the problem was the ID attribute that must be specified in uppercase latters.
Thanks,
fatzopilot
Announcement
Collapse
No announcement yet.
X
-
Can you show what you specified for tabBarControls? And ideally, show the JavaScript translation.
Leave a comment:
-
Thanks,
the buttons appear, but is there a way to properly layout them?
Currently, they just pile up beneath the tabs. I tried something like this to no avail:
Code:<IButton ID="IButton1" width="200" autoDraw="true"> <selected>false</selected> <title>Click me</title> <id>two</id> <layoutAlign>right</layoutAlign> <align>right</align> </IButton>
fatzopilot
Leave a comment:
-
At the moment you'd need to rearrange things like so:
Code:<IButton id="one" autoDraw="false" title="Click me" width="200" /> <Button id="two" autoDraw="false" title="Click me" width="200" /> <TabSet ID="TabSet0" autoDraw="true" width="100%" height="100%"> <tabs> <Tab title="Tab0"> <pane><Canvas ref="PortalLayout0"/></pane> <ID>Tab0</ID> </Tab> </tabs> <destroyPanes>false</destroyPanes> <tabBarControls> <value>one</value> <value>two</value> </tabBarControls> </TabSet>
Leave a comment:
-
Bug in tabBarControls and ComponentXML?
Maybe related to this one:
http://forums.smartclient.com/showthread.php?t=26342
I basically try to add tabBarControls to a TabBar, but it seems they're just ignored.
Code:<TabSet ID="TabSet0" autoDraw="true" width="100%" height="100%"> <tabs> <Tab title="Tab0"> <pane><Canvas ref="PortalLayout0"/></pane> <ID>Tab0</ID> </Tab> </tabs> <destroyPanes>false</destroyPanes> <tabBarControls> <IButton id="one" title="Click me" width="200" /> <Button id ="two" title="Click me" width="200" /> </tabBarControls> </TabSet>
Code:<TabSet ID="TabSet0" autoDraw="true" width="100%" height="100%"> <tabs> <Tab title="Tab0"> <pane><Canvas ref="PortalLayout0"/></pane> <ID>Tab0</ID> </Tab> </tabs> <destroyPanes>false</destroyPanes> <tabBarControls> <value></value> <value></value> </tabBarControls> </TabSet>
The tabs work well....
1. SmartClient Version: v8.3p_2013-04-24/PowerEdition Deployment (built 2013-04-24)
2. FF 20.0.1 (dev and deployment mode), Chrome Version 26.0.1410.64 m, IE 10.0.9200.16540 (all on Windows 8)
Thanks,
fatzopilotTags: None
Leave a comment: