This is a really cool module. It's easy to use, lightweight, and quite flexible.

My only criticism is that you can set the width of the command line through the config settings, but not the chat box itself. Is there any possibility that this feature could get worked into a future version?

Comments

pahariwalla’s picture

Actually the dimensions and positioning of everything except the command line can be changed in the CSS file (im.css). I'll try to get a doc out with the specifics (there might be some in the README file), but in your case you should edit im.css and if you scroll to the bottom, you will see this sections:

#im-console-msgs {
  /*float: left;*/
  width: 180px;
  height:100px;
  overflow: auto;
  padding: 1px;
  border: 1px solid #999;
  background-color: #fff;
  font-size: 100%;    
}

you can change the width parameter from 180 pixels to whatever you like.

p.s. the reason that the command line is in the configs (not the css) is because it is a "textfield" and therefore is controlled by the Drupal Forms API and I don't know how to override that in the CSS. ;-)

p.p.s if anyone else wants to explore and document (that's how I would do it at this point) I'd love that. Maybe you can come up with a some good ideas, and also identify stuff that doesn't work.

Thanks

pahariwalla’s picture

Status: Active » Closed (fixed)

Closing because no activity and I think the question was answered.

patcon’s picture

Hey pahariwalla, wouldn't it make sense to add an admin setting to set the character length of the textfield... I'm just thinking that if that's the only thing requiring hardcoding changes, then it might help some folks out :)

Anyhow, just an idea, and I'll try to look into it when I get some time! Anyone else think it's a worthwhile idea?