DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Right Align Numbers in GTK Spin Button?  (Read 4,777 times)

Renegade

  • Tell me something you don't know...
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,291
    • Participated in NANY Challenge Three Times
    • Furry Fandom Badge - Furry Fandom
    • Linux User
Right Align Numbers in GTK Spin Button?
« on: July 01, 2012, 07: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

  • Tell me something you don't know...
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,291
    • Participated in NANY Challenge Three Times
    • Furry Fandom Badge - Furry Fandom
    • Linux User
Re: Right Align Numbers in GTK Spin Button?
« Reply #1 on: July 02, 2012, 04:30 AM »
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

Original address: https://www.donationcoder.com/forum/index.php?topic=31475.0