SEBSERV-403

This commit is contained in:
anhefti 2023-03-27 10:20:08 +02:00
parent f6d913b4d0
commit d3134b9b4b
4 changed files with 16 additions and 6 deletions

View file

@ -107,6 +107,14 @@ interface CellFieldBuilderAdapter {
xpos--;
}
}
if (orientation.title == TitleOrientation.RIGHT_SPAN) {
int xpos = x + orientation.width;
while (xpos < grid[y].length && grid[y][xpos] == null) {
grid[y][xpos] = DUMMY_BUILDER_ADAPTER;
this.span++;
xpos++;
}
}
}
@Override

View file

@ -80,6 +80,7 @@ public class CheckBoxBuilder implements InputFieldBuilder {
final GridData gridData = new GridData(SWT.FILL, SWT.FILL, true, false);
gridData.verticalIndent = 0;
gridData.heightHint = 26;
checkbox.setLayoutData(gridData);
final CheckboxField checkboxField = new CheckboxField(

View file

@ -70,7 +70,8 @@ public class RadioSelectionFieldBuilder extends SelectionFieldBuilder implements
i18nSupport.getText(attributeNameKey))
.getTypeInstance();
selection.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false));
final GridData gridData = new GridData(SWT.FILL, SWT.FILL, true, false);
selection.setLayoutData(gridData);
final RadioSelectionInputField radioSelectionInputField = new RadioSelectionInputField(
attribute,
orientation,

View file

@ -4,8 +4,8 @@
UPDATE orientation SET y_position=10 WHERE config_attribute_id=301 AND template_id=0;
UPDATE orientation SET y_position=14 WHERE config_attribute_id=305 AND template_id=0;
UPDATE orientation SET y_position=17 WHERE config_attribute_id=306 AND template_id=0;
UPDATE orientation SET y_position=16 WHERE config_attribute_id=307 AND template_id=0;
UPDATE orientation SET y_position=18 WHERE config_attribute_id=306 AND template_id=0;
UPDATE orientation SET y_position=17 WHERE config_attribute_id=307 AND template_id=0;
UPDATE orientation SET y_position=2 WHERE config_attribute_id=309 AND template_id=0;
UPDATE orientation SET y_position=3 WHERE config_attribute_id=310 AND template_id=0;
UPDATE orientation SET y_position=4 WHERE config_attribute_id=311 AND template_id=0;
@ -13,13 +13,13 @@ UPDATE orientation SET y_position=5 WHERE config_attribute_id=312 AND template_i
UPDATE orientation SET y_position=6 WHERE config_attribute_id=313 AND template_id=0;
UPDATE orientation SET y_position=7 WHERE config_attribute_id=314 AND template_id=0;
UPDATE orientation SET y_position=11, group_id=NULL WHERE config_attribute_id=315 AND template_id=0;
UPDATE orientation SET y_position=10, group_id=NULL, width=1, title='RIGHT_SPAN' WHERE config_attribute_id=315 AND template_id=0;
UPDATE orientation SET y_position=8 WHERE config_attribute_id=316 AND template_id=0;
UPDATE orientation SET y_position=19 WHERE config_attribute_id=317 AND template_id=0;
UPDATE orientation SET y_position=15 WHERE config_attribute_id=319 AND template_id=0;
UPDATE orientation SET y_position=16 WHERE config_attribute_id=320 AND template_id=0;
UPDATE orientation SET y_position=13 WHERE config_attribute_id=947 AND template_id=0;
UPDATE orientation SET y_position=12 WHERE config_attribute_id=947 AND template_id=0;
INSERT IGNORE INTO orientation (config_attribute_id, template_id, view_id, group_id, x_position, y_position, width, height, title) VALUES
(1551, 0, 9, null, 7, 12, 5, 1, 'NONE');
(1551, 0, 9, null, 7, 11, 5, 1, 'NONE');