Skip to content

Commit ad9dced

Browse files
committed
ADAP-142 remove thick frame when tabbed.
1 parent e9d34e6 commit ad9dced

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/openfin/desktop/demo/LayoutFrame.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,10 +166,10 @@ public void run() {
166166
if (hasFrame) {
167167
frame.setResizable(true);
168168
// style = style & ~User32.WS_CHILD;
169-
style = style | User32.WS_CAPTION | User32.WS_BORDER ;
169+
style = style | User32.WS_CAPTION | User32.WS_BORDER | User32.WS_THICKFRAME;
170170
} else {
171171
frame.setResizable(false);
172-
style = style &~ User32.WS_CAPTION &~ User32.WS_BORDER;
172+
style = style &~ User32.WS_CAPTION &~ User32.WS_BORDER &~ User32.WS_THICKFRAME;
173173
// style = style | User32.WS_CHILD;
174174
}
175175
User32.INSTANCE.SetWindowLong(hWnd, User32.GWL_STYLE, style);

0 commit comments

Comments
 (0)