12-02-2009, 07:47 PM
i have a horizontal toolbar with only one letter per button without icons.
how do i center the letter (text)?
thanks
how do i center the letter (text)?
thanks
qm toolbar: center text on button
|
12-02-2009, 07:47 PM
i have a horizontal toolbar with only one letter per button without icons.
how do i center the letter (text)? thanks
12-02-2009, 08:30 PM
can you add it in next version as toolbar option?
a [32] looks not good in toolbar code. [32]1 :outp "[attachment=1]" ** [32]2 :outp "[attachment=2]" ** [32]3 :outp "[attachment=3]" ** [32]4 :outp "[attachment=4]" ** [32]5 :outp "[attachment=5]" ** [32]6 :outp "[attachment=6]" ** [32]7 :outp "[attachment=7]" ** [32]8 :outp "[attachment=8]" ** [32]P :n__2smfbbcode("password") **
12-02-2009, 08:33 PM
No. QM uses standard toolbar control. It does not have a style or message "center text".
12-02-2009, 08:43 PM
would it be possible to manipulate the toolbar buttons with toolbar hook function?
like display buttons with [32] but don't edit toolbar code.
12-02-2009, 08:59 PM
In hook function, under WM_INITDIALOG, you can enumerate buttons, get and set button text. Use toolbar control messages. But it is not perfect. Original text will be restored after changing some properties through context menu.
TB_BUTTONCOUNT, TB_GETBUTTONTEXT, TB_SETBUTTONINFO. To set text also can use function ChangeQmToolbarButtonText. It is in QM forum -> resources -> first topic. |
« Next Oldest | Next Newest »
|