Hi Klauss, hi all...
I have a simple question...
How can I insert two lines of text in a combobox plugin.
I used the example provided by Klauss, but when I insert a break line ( [br] ) the second line is positioned under the image.
Does anyone have any ideas?
Thanks, Marco
ComboBox with two lines
-
-
add float:left to your image style
-
Thank you so much.
Marco
-
jeromebg
Where do I find "Image Style"? In combobox.xml? More can the place where Flat must be added: Left
Thank you -
it's not in the combobox.xml plugin but in the way you generate combobox items, check combobox-examples.xml
Code<action name="add_scene_items" scope="local"> for(set(i,0), i LT scene.count, inc(i), caller.additem(calc('[img src=[dq]' + scene[get(i)].thumburl + '[dq] style=[dq]border:1px solid rgba(255,255,255,0.5);width:48px;height:32px;vertical-align:middle;margin-right:8px;[dq]/] '+scene[get(i)].title), calc('loadscene('+i+',null,MERGE,BLEND(0.5))') ); ); </action>
-
Ok, I got it
Thanks
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!