← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #696153]: Font for select -Combo

 

Question #696153 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/696153

    Status: Open => Answered

RaiMan proposed the following answer:
currently you use something like this:

items = ("item1 hello 666", "item2 hello 111" , "item3 hello 999")

select("select sthg", "my selection", items)

try this:

newItems = [item in items: "<html><font face='monospaced'>" + item]
select("select sthg", "my selection", newItems)

You might even play with the fontsize:
newItems = [item in items: "<html><font face='monospaced' size=5>" + item]

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.