|
|
Joined: Feb 2003
Posts: 3,432
Hoopy frood
|
OP
Hoopy frood
Joined: Feb 2003
Posts: 3,432 |
any way you can make he "tabs" in a dialog longer? cos if the dialog is bigger then the tab length, then you get an empty space after them, i have two tabs, then only cover half of the dialog lengt, but want to have them cover the whole one.. so any way you can set a value on how long the tab should be?
if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
|
|
|
|
Joined: Dec 2002
Posts: 230
Fjord artisan
|
Fjord artisan
Joined: Dec 2002
Posts: 230 |
|
|
|
|
Joined: Feb 2003
Posts: 3,432
Hoopy frood
|
OP
Hoopy frood
Joined: Feb 2003
Posts: 3,432 |
then that should be inplanted in the next version.. cos i think that it looks uggly when the tabs dont go all the way over the dialog.. and i supose others will agree with me on that? thnx for ur reply anyway..
if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
|
|
|
|
Joined: Nov 2003
Posts: 2,327
Hoopy frood
|
Hoopy frood
Joined: Nov 2003
Posts: 2,327 |
Why not just make the dialog smaller if you have nothing to fill it? Also, lots of good looking dialogs have tabs that don't fill the whole dialog.
New username: hixxy
|
|
|
|
Joined: Feb 2003
Posts: 3,432
Hoopy frood
|
OP
Hoopy frood
Joined: Feb 2003
Posts: 3,432 |
the dialog is filled.. just the tab's on top that arent..
dialog is this long "______________________________"
tabs cover this much: "__________'__________'__________"
the red "marks" marking the tabs.. the blue part is the part i wanted the tabs to stretch over..
if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
|
|
|
|
Joined: Dec 2002
Posts: 788
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 788 |
Like most things you can just fill it with $ chr(160 ). i.e. tab "C ", 4Alternatively, to save you copy/pasting them in. alias dtabs { did -a $$1 $$2 $+($did($$1,$$2),$str($chr(160),$$3)) }
Syntax; /dtabs $dname [color:red]object-id spaces-required[/color] i.e. dialog test { title "mIRC" size -1 -1 110 100 option dbu
tab "m", 1, 5 5 100 90 tab "I", 2 tab "R", 3 tab "C", 4
button "m is for ... ", 11, 30 50 50 24, ok tab 1 button "I is for Internet", 12, 30 50 50 24, tab 2 button "R is for Relay", 13, 30 50 50 24, tab 3 button "C is for Chat", 14, 30 50 50 24, tab 4 }
On *:Dialog:test:init:*:{ dtabs $dname 2 10 dtabs $dname 3 10 echo done. }
/dialog -m test test Eamonn.
|
|
|
|
|
|