Skip to content

Commit

Permalink
fix: use Span instead of Label for spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
javier-godoy authored and paodb committed Oct 2, 2023
1 parent dbdff2f commit 38d56b2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
import com.vaadin.flow.component.grid.dnd.GridDropLocation;
import com.vaadin.flow.component.grid.dnd.GridDropMode;
import com.vaadin.flow.component.html.Label;
import com.vaadin.flow.component.html.Span;
import com.vaadin.flow.component.icon.VaadinIcon;
import com.vaadin.flow.component.orderedlayout.HorizontalLayout;
import com.vaadin.flow.component.orderedlayout.VerticalLayout;
Expand Down Expand Up @@ -152,7 +153,7 @@ public enum Orientation {

private Grid<T> draggedGrid;

private Label fakeButtonContainerLabel = new Label();
private Span fakeButtonContainerLabel = new Span();

private Orientation orientation = Orientation.HORIZONTAL;

Expand Down

0 comments on commit 38d56b2

Please sign in to comment.