View Single Post
  #22  
Unread 03-12-2005, 04:01 AM
Deathbane27's Avatar
Deathbane27 Deathbane27 is offline
aka Mook
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: Nektulos
Posts: 1,451
Default

Unfortunately, it is my sad duty to report that the "Max minus X" button isn't going to work.

The reason is that when you do math, the game automatically adds 3 decimal places, so 100-10=90.000. And unfortunately, a Sliderbar's Value property won't take those decimal places, even if they're all 0. And the sliderbar, not the text field, controls the amount.

In case you couldn't get the fixed buttons working, here's a working version with 7 preset buttons. Just alter the LocalText values to change the amounts they set.


Wyynd: I suspect the LFG window will have the a similar issue, but I'll check.
Attached Files
File Type: xml eq2ui_mainhud_quantityselector.xml (4.2 KB, 782 views)
__________________
If it ain't broke, it needs more features!
Reply With Quote