Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust clickable zone checkbox #168

Merged
merged 1 commit into from
Aug 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@ public void init(Binder<DestinationEntity> binder) {
}

private void setElements() {
filterBySOPClassesCheckbox.setMinWidth("25%");
sopFilter.setMinWidth("74%");
filterBySOPClassesCheckbox.setMinWidth("14%");
sopFilter.setMinWidth("80%");
sopFilter.getElement().getStyle().set("padding-left", "5%");

filterBySOPClassesCheckbox.setValue(false);
sopFilter.onEnabledStateChanged(false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,12 @@ private void setElements() {
issuerOfPatientIDByDefault.setWidth("100%");
issuerOfPatientIDByDefault.setPlaceholder(LABEL_DEFAULT_ISSUER);
UIS.setTooltip(issuerOfPatientIDByDefault, LABEL_DEFAULT_ISSUER);

// Checkbox activate de-identification
checkboxDesidentification = new Checkbox(LABEL_CHECKBOX_DESIDENTIFICATION);
checkboxDesidentification.setValue(true);
checkboxDesidentification.setMinWidth("25%");
checkboxDesidentification.setMinWidth("19%");
checkboxDesidentification.getElement().getStyle().set("margin-block-end", "auto");

labelDisclaimer = new Label(LABEL_DISCLAIMER_DEIDENTIFICATION);
labelDisclaimer.getStyle().set("color", "red");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public FormSourceNode(
add(
UIS.setWidthFull(new HorizontalLayout(aeTitle, description)),
UIS.setWidthFull(new HorizontalLayout(hostname)),
UIS.setWidthFull(checkHostname),
checkHostname,
UIS.setWidthFull(buttonSaveDeleteCancel));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import java.util.ArrayList;
import java.util.List;
import org.karnak.backend.data.entity.KheopsAlbumsEntity;
import org.karnak.frontend.util.UIS;

public class SwitchingAlbumsView extends CustomField<List<KheopsAlbumsEntity>> {

Expand All @@ -39,7 +38,7 @@ public SwitchingAlbumsView() {
kheopsAlbumsEntityList = new ArrayList<>();
layout = new VerticalLayout();
checkboxSwitchingAlbums = new Checkbox("Switching in different KHEOPS albums");
add(UIS.setWidthFull(checkboxSwitchingAlbums), layout);
add(checkboxSwitchingAlbums, layout);
setEventCheckBox();
setEventButtonAdd();
}
Expand Down