Add minimum margin when window is too small

This commit is contained in:
Reinhard Pointner 2018-03-07 00:06:31 +07:00
parent 7809cb8a04
commit faf9998645
1 changed files with 2 additions and 2 deletions

View File

@ -71,8 +71,8 @@ public class SubtitlePanel extends AbstractSearchPanel<SubtitleProvider, Subtitl
add(createImageButton(setUserAction), "w pref!, h 2+pref!, gap rel, sgy button", 2);
// add at the top right corner
add(uploadDropTarget, "width 54px!, height 54px!", 4);
add(downloadDropTarget, "width 54px!, height 54px!, gap after 10px", 5);
add(uploadDropTarget, "width 54px!, height 54px!, gap before unrel", 4);
add(downloadDropTarget, "width 54px!, height 54px!, gap before rel, gap after 10px", 5);
}
@Subscribe