mIRC Home    About    Download    Register    News    Help

Print Thread
#99776 05/10/04 12:19 PM
Joined: Feb 2003
Posts: 3,412
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,412
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?

#99777 05/10/04 05:31 PM
Joined: Dec 2002
Posts: 230
G
Fjord artisan
Offline
Fjord artisan
G
Joined: Dec 2002
Posts: 230
nope

#99778 06/10/04 11:12 AM
Joined: Feb 2003
Posts: 3,412
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,412
then that should be inplanted in the next version.. wink cos i think that it looks uggly when the tabs dont go all the way over the dialog.. crazy and i supose others will agree with me on that? wink thnx for ur reply anyway.. grin

#99779 06/10/04 11:15 AM
Joined: Nov 2003
Posts: 2,321
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,321
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.

#99780 06/10/04 11:26 AM
Joined: Feb 2003
Posts: 3,412
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,412
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..



#99781 06/10/04 01:27 PM
Joined: Dec 2002
Posts: 787
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 787
Like most things you can just fill it with $chr(160). i.e.

tab "C            ", 4

Alternatively, 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 ... wink", 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.


Link Copied to Clipboard