Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • August 20, 2017, 12:30 PM
  • Proudly celebrating 10 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 2124 times)

Renegade

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,237
    • View Profile
    • 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?

Renegade

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,237
    • View Profile
    • 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...