[rkward-users] Dialog too small to show all elements

Birk Diedenhofen mail at birkdiedenhofen.de
Wed May 16 16:42:41 UTC 2012


 Hi!

I have some troubles with dialog sizes.
The following example dialog is too small to show all elements properly.
If rk.XML.text("Lorem ipsum") is used instead of the complete sentences,
everything looks fine.

require(rkwarddev)
local({
  groups <- rk.XML.radio("foobar?", options=list("foo"=c(val="foo"),
"bar"=c(val="bar")))

  wizard <- rk.XML.wizard(
    rk.XML.page(rk.XML.text("Lorem ipsum dolor sit amet, consectetur adipiscing
elit. Donec eu risus massa, sit amet aliquam dolor. Cras eu leo augue, eget
faucibus elit. Vestibulum lacus eros, elementum ut auctor eget, gravida sit amet
libero."), groups)
  )

  plugin.dir <<- rk.plugin.skeleton(
    "test", provides=c("wizard"),
    xml=list(wizard=wizard),
    pluginmap=list(name="test", hierarchy=list("test foo")),
    load=TRUE, edit=TRUE, show=TRUE, overwrite=TRUE
  )
})

Regards
Birk




More information about the Rkward-users mailing list