mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 17:05:26 +02:00
Bug #187619: "Unexport" button label is truncated
This commit is contained in:
parent
cf62c230d7
commit
5950bf5e1b
1 changed files with 7 additions and 0 deletions
|
@ -271,6 +271,13 @@ public abstract class AbstractCPropertyTab implements ICPropertyTab {
|
|||
protected void buttonSetText(int i, String text) {
|
||||
if (buttons == null || buttons.length <= i ) return;
|
||||
buttons[i].setText(text);
|
||||
Composite c = buttons[i].getParent();
|
||||
if (c != null) {
|
||||
c.pack();
|
||||
c = c.getParent();
|
||||
if (c != null)
|
||||
c.layout(true);
|
||||
}
|
||||
}
|
||||
|
||||
/**********************************************
|
||||
|
|
Loading…
Add table
Reference in a new issue