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
Development
General Development (no feature request here!)
GUIListcontrol: centered icon for single Listitem
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="SilentException" data-source="post: 843750" data-attributes="member: 83924"><p>You forgot test.AllocResources();</p><p> </p><p>Might be because of that. Also make sure you're not leaking resources, you need to keep references to those GUIImages created and dispose them properly <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /></p><p> </p><p>I actually had other idea in mind with my previous post and that is to create memory image (bitmap) and load it manually in GUITextureManager. You can then use that string reference to set item IconImage.</p></blockquote><p></p>
[QUOTE="SilentException, post: 843750, member: 83924"] You forgot test.AllocResources(); Might be because of that. Also make sure you're not leaking resources, you need to keep references to those GUIImages created and dispose them properly ;) I actually had other idea in mind with my previous post and that is to create memory image (bitmap) and load it manually in GUITextureManager. You can then use that string reference to set item IconImage. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
GUIListcontrol: centered icon for single Listitem
Contact us
RSS
Top
Bottom