home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Need advise on guicontrols (guilistcontrol)
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="boein" data-source="post: 869058" data-attributes="member: 20256"><p>Hi,</p><p> </p><p>I'm working on a new plugin "MPonlineMixes". With the plugin you can search for mp3-mixes in a sound-cloud portal that returns results with relevant info about the mix (genre, artist, title, picture...). If you click on a result the mix is played. The plugin works, gets the content, but I cannot display it properly the way I want.</p><p> </p><p>The idea is to show the content in tabular-layout like this:</p><p>Mix-Title - artist - genre - link to the mix (hidden) and a picture</p><p>Mix2-Title - artist - genre - link to the mix (hidden) and a picture</p><p>Mix3-Title - artist - genre - link to the mix (hidden) and a picture</p><p> </p><p>Did some tests with listcontrol examples from the wiki but I just can't get it right. In liscontrol you can use label,label2 and label3, but I don't know how to position them to get them aligned in table-form, they always overlap. Or maybe there's an easier way to show the content in a table. Can someone give me an example of the code and the corresponding XML? The wiki doesn't really help me here.</p><p>Also about the X,Y positions and offset, the integers used are based on what? What is the minimum, maximum value based on, where can I find this value. For the moment I have to position controls by means of trial and error, try some values, check the output on the screen... I don't think this is the way to do it, right ? So tips about "proper positioning" are much appreciated <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p> </p><p>Thanks</p><p>Boein</p></blockquote><p></p>
[QUOTE="boein, post: 869058, member: 20256"] Hi, I'm working on a new plugin "MPonlineMixes". With the plugin you can search for mp3-mixes in a sound-cloud portal that returns results with relevant info about the mix (genre, artist, title, picture...). If you click on a result the mix is played. The plugin works, gets the content, but I cannot display it properly the way I want. The idea is to show the content in tabular-layout like this: Mix-Title - artist - genre - link to the mix (hidden) and a picture Mix2-Title - artist - genre - link to the mix (hidden) and a picture Mix3-Title - artist - genre - link to the mix (hidden) and a picture Did some tests with listcontrol examples from the wiki but I just can't get it right. In liscontrol you can use label,label2 and label3, but I don't know how to position them to get them aligned in table-form, they always overlap. Or maybe there's an easier way to show the content in a table. Can someone give me an example of the code and the corresponding XML? The wiki doesn't really help me here. Also about the X,Y positions and offset, the integers used are based on what? What is the minimum, maximum value based on, where can I find this value. For the moment I have to position controls by means of trial and error, try some values, check the output on the screen... I don't think this is the way to do it, right ? So tips about "proper positioning" are much appreciated :) Thanks Boein [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Need advise on guicontrols (guilistcontrol)
Contact us
RSS
Top
Bottom