Bug: btn.ImageAlign

Welcome to Wisej Support.
Questions, suggestions and plain old bugs - are all welcome here!


Some bug with the alignment of the image with text on the button.


For example:

btn.TextImageRelation = TextImageRelation.ImageBeforeText

btn.ImageAlign = Drawing.ContentAlignment.MiddleLeft
btn.TextAlign = Drawing.ContentAlignment.MiddleLeft


Shows the icon on the left and the text on the center.


If I set to MiddleRight, the icon shows on the center and also the text.


So… is a litle problem with the alignment in general.


  • You must to post comments

Hi Mark,

The alignment seems correct. It works in a grid, see image below. The TextImageRelation determines which grid is used by the Image and the Label inner widgets. The Alignment determines which cell. You can restrict the borders of the grid by setting the padding. The cells are expanded and compressed automatically depending on the content. It’s a double grid layout.






  • You must to post comments
Showing 1 result
Your Answer
Post as a guest by filling out the fields below or if you already have an account.
File Name Size
There are currently no files uploaded.
Maximum number of files 5, maximum file size 3.9MB.
Supported file formats: zip pdf gif jpg bmp png cs vb theme json mixin.theme