Page 1 of 1
SpinGadget ~ Text positioning in centre / left / right
Posted: Mon Mar 10, 2008 12:03 pm
by RichardL
Hi,
The ability to position text in the SpinGadget would be useful.
It looks a little weird with strings appearing on the right.
RichardL
Re: SpinGadget ~ Text positioning in centre / left / right
Posted: Mon May 04, 2015 7:24 am
by mestnyi
Hi how can you position the text to the left

Re: SpinGadget ~ Text positioning in centre / left / right
Posted: Mon May 04, 2015 1:17 pm
by IdeasVacuum
If we are talking about the Spin Gadget numerical text, it is normal to have numbers justified right.
Work-around
It's easy to make your own custom spin gadget with a Text Gadget/String Gadget and two Button Image Gadgets.
Re: SpinGadget ~ Text positioning in centre / left / right
Posted: Wed May 06, 2015 12:44 pm
by mestnyi
If we are talking about the Spin Gadget numerical text, it is normal to have numbers justified right.
Maybe justified, but it is wrong, because the possibility of greatly narrowed
It's easy to make your own custom spin gadget with a Text Gadget/String Gadget and two Button Image Gadgets.
Not so that it's easy to.
But I found a solution for windows
Code: Select all
SetWindowLongPtr_(GadgetID(Gadget), #GWL_STYLE, GetWindowLongPtr_(GadgetID(Gadget), #GWL_STYLE) | #ES_CENTER)
And here of course Surprise "ES_CENTER" aligns to the left edge