Skip to content

Commit

Permalink
0004943: Replaced all instances of MarginInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-miller-jumpmind committed Jul 8, 2021
1 parent 21cf8d4 commit 957fd0c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Expand Up @@ -77,7 +77,7 @@ public NotifyDialog(String caption, String text, final Throwable ex, Notificatio
msg = msg.replace("\t", " ");
textSpan.getElement().setProperty("innerHTML", msg);
detailsButton.setText("Message");
//messageArea.setMargin(new MarginInfo(false, false, false, true));
messageArea.getStyle().set("margin", "0 0 0 16px");
setHeight("600px");
setWidth("1000px");
//setPosition(getPositionX()-300, getPositionY()-150);
Expand Down
Expand Up @@ -87,7 +87,7 @@ public SettingsDialog(SqlExplorer explorer) {
protected HorizontalLayout createSettingsLayout() {
HorizontalLayout layout = new HorizontalLayout();
layout.setWidth("700px");
//layout.setMargin(new MarginInfo(false, true, false, true));
layout.getStyle().set("margin", "0 16px");
FormLayout settingsLayout = new FormLayout();

Settings settings = settingsProvider.get();
Expand Down
Expand Up @@ -341,7 +341,7 @@ protected void createTabularResultLayout() {
private void createMenuBar() {
HorizontalLayout resultBar = new HorizontalLayout();
resultBar.setWidthFull();
//resultBar.setMargin(new MarginInfo(false, true, false, true));
resultBar.getStyle().set("margin", "0 16px");

HorizontalLayout leftBar = new HorizontalLayout();
leftBar.setSpacing(true);
Expand Down
Expand Up @@ -101,7 +101,7 @@ protected void refreshSource(final Trigger trigger) {

HorizontalLayout bar = new HorizontalLayout();
bar.setWidthFull();
//bar.setMargin(new MarginInfo(false, true, false, true));
bar.getStyle().set("margin", "0 16px");

MenuBar wrapSelect = new MenuBar();
wrapSelect.addThemeVariants(MenuBarVariant.LUMO_TERTIARY, MenuBarVariant.LUMO_SMALL);
Expand Down
Expand Up @@ -62,7 +62,7 @@ public void createTabularLayout() {

HorizontalLayout bar = new HorizontalLayout();
bar.setWidthFull();
//bar.setMargin(new MarginInfo(false, true, false, true));
bar.getStyle().set("margin", "0 16px");

HorizontalLayout leftBar = new HorizontalLayout();
leftBar.setSpacing(true);
Expand Down

0 comments on commit 957fd0c

Please sign in to comment.