Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why don my labels resize in a RowColumn widget?

labels resize widget
0
Posted

Why don my labels resize in a RowColumn widget?

0

RowColumn widget in my application, with several rows and columns of XmLabels. When I update the text in the labels, the label’s width does not get updated. [Last modified: Oct 94] Answer: Make sure all the ancestor widget resize mechanisms are enabled: – on shells, set XmNallowShellResize – on row column, set XmNresizeWidth and XmNresizeHeight – on bulletin board and form, set XmNresizePolicy Also, set XmNrecomputeSize on the label itself. The shell resource is off by default; the others should be on by default. Ken Lee —————————————————————————– Subject: 81) Does XmRowColumn support multiple columns with different column widths? [Last modified: Apr 98] Answer: XmRowColumn was designed for simple layouts like menu panes and tool bars. For more sophisticated layouts, you should use an XmForm widget instead.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123