Eric Jensen
2014-09-18 11:08:22 UTC
Hello,
is is possible to have a floating image in a wxRichTextCtrl to be
bottom-aligned?
I tried this, but the images are always top-aligned
// ---
r.Newline();
wxRichTextAttr imageAttr;
imageAttr.GetTextBoxAttr().SetVerticalAlignment(wxTEXT_BOX_ATTR_VERTICAL_ALIGNMENT_BOTTOM);
r.WriteImage(wxBitmap(zebra_xpm), wxBITMAP_TYPE_PNG, imageAttr);
r.WriteImage(wxBitmap(smiley_xpm), wxBITMAP_TYPE_PNG, imageAttr);
r.Newline();
// ---
Thanks,
Eric
is is possible to have a floating image in a wxRichTextCtrl to be
bottom-aligned?
I tried this, but the images are always top-aligned
// ---
r.Newline();
wxRichTextAttr imageAttr;
imageAttr.GetTextBoxAttr().SetVerticalAlignment(wxTEXT_BOX_ATTR_VERTICAL_ALIGNMENT_BOTTOM);
r.WriteImage(wxBitmap(zebra_xpm), wxBITMAP_TYPE_PNG, imageAttr);
r.WriteImage(wxBitmap(smiley_xpm), wxBITMAP_TYPE_PNG, imageAttr);
r.Newline();
// ---
Thanks,
Eric
--
replace .local with .de to reply to my email address
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
replace .local with .de to reply to my email address
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users