I've just very recently found the time to get back into using Maptools, and I have been backwards manipulating all my old scripts and macros, but something I never really came across until now, is controlling the tabs in the input() command. Is there a way to force the tabs to be horizontal? At the moment, my tabs are lining up vertical and I'm not sure how, or why, I just don't like the looks of it.
Thanks in advance.
Macro Question :: Horizontal Input Tabs
Moderators: dorpond, trevor, Azhrei, giliath, jay, Mr.Ice
- Xaelvaen
- Dragon
- Posts: 498
- Joined: Wed Aug 31, 2011 9:49 pm
- Location: Somewhere between Heaven and Hell
Macro Question :: Horizontal Input Tabs
"An arrogant person considers himself perfect. This is the chief harm of arrogance. It interferes with a person's main task in life - becoming a better person." - Leo Tolstoy
Re: Macro Question :: Horizontal Input Tabs
The width is based on the data within the input, so... if you make the data wider, then the tabs will conform to that. Using a series of --- to set the width would work or you can use a div tag and set the width. I use this in my own code:
Code: Select all
bar|<html><div width=600><HR></div></html>|bar|LABEL|span=true
Downloads:
- Notepad++ MapTool addon
- RPEdit details (v1.3)
- Coding Tips: Modularity and Design
- Videos: Macro Writing Tools
- Xaelvaen
- Dragon
- Posts: 498
- Joined: Wed Aug 31, 2011 9:49 pm
- Location: Somewhere between Heaven and Hell
Re: Macro Question :: Horizontal Input Tabs
Sorry for the delayed thank you, but thank you - worked wonders, as always Aliasmask.
"An arrogant person considers himself perfect. This is the chief harm of arrogance. It interferes with a person's main task in life - becoming a better person." - Leo Tolstoy