3471: Reduced size of textarea as requested, also made small reformatting of Java code #19

Merged
ansv7779 merged 1 commits from 3471-resizing-ui-supervisor into develop 2024-11-19 12:17:15 +01:00
2 changed files with 3 additions and 6 deletions

View File

@ -6,7 +6,7 @@
<div wicket:id="feedback"></div> <div wicket:id="feedback"></div>
<div class="mb-3"> <div class="mb-3">
<label wicket:for="note" class="sr-only">Note</label> <label wicket:for="note" class="sr-only">Note</label>
<textarea wicket:id="note" rows="20" class="form-control"></textarea> <textarea wicket:id="note" rows="7" class="form-control"></textarea>
</div> </div>
<button wicket:id="save" type="submit" class="btn btn-primary">Save</button> <button wicket:id="save" type="submit" class="btn btn-primary">Save</button>
</form> </form>

View File

@ -51,11 +51,8 @@ public class ProjectNoteColumn extends AbstractExportableColumn<Project, String>
} }
@Override @Override
public void populateItem( public void populateItem(Item<ICellPopulator<Project>> cellItem, String componentId,
Item<ICellPopulator<Project>> cellItem, IModel<Project> rowModel) {
String componentId,
IModel<Project> rowModel)
{
cellItem.add(new ViewAndEditNoteCellPanel(componentId, rowModel)); cellItem.add(new ViewAndEditNoteCellPanel(componentId, rowModel));
} }