From: jihye424.kim Date: Tue, 17 Nov 2015 02:21:09 +0000 (+0900) Subject: table: seperate check routine column width and item width X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c70d588d54e751cbce8f852209148ed6b8174d60;p=sdk%2Femulator%2Femulator-manager.git table: seperate check routine column width and item width - if item width has been changed, need to resize table item Change-Id: Ifae1231f33508b8df2e246222f2644533a2bd884 Signed-off-by: jihye424.kim --- diff --git a/src/org/tizen/emulator/manager/ui/table/Table.java b/src/org/tizen/emulator/manager/ui/table/Table.java index 1b0426e..ad91bfe 100644 --- a/src/org/tizen/emulator/manager/ui/table/Table.java +++ b/src/org/tizen/emulator/manager/ui/table/Table.java @@ -1088,8 +1088,9 @@ public class Table extends TableScrolledComposite { if (tableColumn.getBounds().width != width) { tableColumn.setBounds(0, 0, width, columnHeight); - tableItem.setBounds(0, columnHeight, width, height - columnHeight); - } else if (tableItem.getBounds().height != height) { + } + if (tableItem.getBounds().height != height + || tableColumn.getBounds().width != width) { tableItem.setBounds(0, columnHeight, width, height - columnHeight); for (TableItem item : items) { if (item != null) {