-
OK, so I have my table working. Currently it looks like this: Is there a way to left justify the button labels? I know there is the .edit_row method, but I am not sure how I could use it, to shift the text to the left. Also I am not sure how you can edit a button, to give it an icon. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 22 replies
-
@avalon60 Just add justify parameter when defining the table. All other args are passed directly to the button cells. |
Beta Was this translation helpful? Give feedback.
-
The |
Beta Was this translation helpful? Give feedback.
-
Ahh - ok, that's good. However, I think I may now be hitting a bug. When I iterate to add the rows, and also include an insert to add icons, the icon only shows for the last row. So here I try both add and insert:
This gives me: If subsequent to this I add in this extra code, (which doesn't have the add_row method - there but commented out), it properly populates the icons:
The above is added as an extra block after the first snippet - we need to keep that first snippet in, in order to populate the table with the add_row. Just to prove the point further, if I remove the hash, to un-comment that add_row in the last snippet, we get this: We get duplicates as you would expect, but again, the icons aren't appearing as anticipated. |
Beta Was this translation helpful? Give feedback.
@avalon60 Update the package once again, add
anchor="w"
while defining the table, addanchor="c"
while inserting the image. That will be the best method.