topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Saturday December 14, 2024, 5:05 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Right Align Numbers in GTK Spin Button?  (Read 3661 times)

Renegade

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,291
  • Tell me something you don't know...
    • View Profile
    • Renegade Minds
    • Donate to Member
Right Align Numbers in GTK Spin Button?
« on: July 01, 2012, 02:19 PM »
Does anyone know how to right align number in a GTK (GTK# specifically) spin button?
Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker

Renegade

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,291
  • Tell me something you don't know...
    • View Profile
    • Renegade Minds
    • Donate to Member
Re: Right Align Numbers in GTK Spin Button?
« Reply #1 on: July 01, 2012, 11:30 PM »
Sigh... That's what happens when you're overtired and working at 3 or 4 in the morning...

spinbutton1.Xalign = 1.0f;

You can't set it in Stetic. You have to do it in code. And you actually have to call the method that you put the call in before it can run...  :-\ Amazing how getting up and getting some coffee in you can "debug" an application...
Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker