ming4883 / gwen-dotnet

Personal fork of the Gwen dotnet project with the various enhancements
1 stars 0 forks source link

Mutliselect Listbox Uses Wrong Texture Offset #35

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Load any example.
2. Choose ListBox example.
3. Mutliselect items.

What is the expected output? What do you see instead?
Clean; crisp colors.

What version of the product are you using? On what operating system?
r144
Windows 7

Please provide any additional information below.
The texture offset while using TexturedBase skin is wrong for 
'Textures.Input.ListBox.EvenLineSelected'. It should be:

Textures.Input.ListBox.EvenLineSelected = new Bordered(m_Texture, 320, 256, 31, 
31, Margin.Eight);

It is set to 270 instead of 256 for the Y position.

Original issue reported on code.google.com by chuck.m....@gmail.com on 24 Oct 2013 at 8:16

GoogleCodeExporter commented 9 years ago
Whoops, forgot to attach the patch file I made. Here ya go.

Original comment by chuck.m....@gmail.com on 24 Oct 2013 at 8:18

Attachments: