Calendar: Edit dialog sizing

- Make #id on one line
- better sizing for description tab (leave it to browser)
This commit is contained in:
nathan 2022-12-02 14:18:02 -07:00
parent 3a1c415ce4
commit b0d322c98a
4 changed files with 34 additions and 16 deletions

View File

@ -438,6 +438,7 @@ Hide subsequent headers in week view with non-consolidated owners
/* Calendar Id # /* Calendar Id #
*/ */
.calendar_calId:before {} .calendar_calId:before {}
#calendar-edit_id { display: inline;}
#calendar-edit_id:before { content:"#"} #calendar-edit_id:before { content:"#"}
/* header for the dayCol /* header for the dayCol
@ -1613,8 +1614,11 @@ et2-switch#calendar-toolbar_toolbar-weekend::part(label) {width: 100%; height: 1
#calendar-list_nm .nextmatch_header .search { #calendar-list_nm .nextmatch_header .search {
display: none; display: none;
} }
#calendar-edit_calendar-edit-description {
#calendar-edit_description {height:70%;margin-bottom: 2em;} display: flex;
flex-direction: column;
}
et2-textarea#calendar-edit_description {height:70%;margin-bottom: 2em;}
et2-button#calendar-toolbar_toolbar-today::part(label) { et2-button#calendar-toolbar_toolbar-today::part(label) {
font-weight: bold; font-weight: bold;

View File

@ -3,7 +3,7 @@
<!-- $Id$ --> <!-- $Id$ -->
<overlay> <overlay>
<template id="calendar.edit.description" template="" lang="" group="0" version="1.0.1.001"> <template id="calendar.edit.description" template="" lang="" group="0" version="1.0.1.001">
<textbox multiline="true" id="description" rows="8" cols="70" resize_ratio="0.7"/> <textbox multiline="true" id="description" cols="70"/>
<hbox disabled="@no_add_alarm" height="35"> <hbox disabled="@no_add_alarm" height="35">
<button label="Add new alarm" id="button[add_alarm]" image="add" background_image="1"/> <button label="Add new alarm" id="button[add_alarm]" image="add" background_image="1"/>
<menulist> <menulist>
@ -14,17 +14,17 @@
<menupopup statustext="Select who should get the alarm" label="for" id="new_alarm[owner]" no_lang="1"/> <menupopup statustext="Select who should get the alarm" label="for" id="new_alarm[owner]" no_lang="1"/>
</menulist> </menulist>
</hbox> </hbox>
<grid id="alarm" width="100%" resize_ratio="0.3"> <grid id="alarm" width="100%">
<columns> <columns>
<column/> <column/>
<column/> <column/>
<column/> <column/>
<column/> <column/>
<column/> <column/>
</columns> </columns>
<rows> <rows>
<row class="th thb"> <row class="th thb">
<description value="Time"/> <description value="Time"/>
<description value="before the event"/> <description value="before the event"/>
<description value="All participants"/> <description value="All participants"/>
<description value="Owner"/> <description value="Owner"/>

View File

@ -441,6 +441,9 @@ Hide subsequent headers in week view with non-consolidated owners
} }
/* Calendar Id # /* Calendar Id #
*/ */
#calendar-edit_id {
display: inline;
}
#calendar-edit_id:before { #calendar-edit_id:before {
content: "#"; content: "#";
} }
@ -1595,7 +1598,11 @@ et2-switch#calendar-toolbar_toolbar-weekend::part(label) {
#calendar-list_nm .nextmatch_header .search { #calendar-list_nm .nextmatch_header .search {
display: none; display: none;
} }
#calendar-edit_description { #calendar-edit_calendar-edit-description {
display: flex;
flex-direction: column;
}
et2-textarea#calendar-edit_description {
height: 70%; height: 70%;
margin-bottom: 2em; margin-bottom: 2em;
} }

View File

@ -429,6 +429,9 @@ Hide subsequent headers in week view with non-consolidated owners
} }
/* Calendar Id # /* Calendar Id #
*/ */
#calendar-edit_id {
display: inline;
}
#calendar-edit_id:before { #calendar-edit_id:before {
content: "#"; content: "#";
} }
@ -1583,7 +1586,11 @@ et2-switch#calendar-toolbar_toolbar-weekend::part(label) {
#calendar-list_nm .nextmatch_header .search { #calendar-list_nm .nextmatch_header .search {
display: none; display: none;
} }
#calendar-edit_description { #calendar-edit_calendar-edit-description {
display: flex;
flex-direction: column;
}
et2-textarea#calendar-edit_description {
height: 70%; height: 70%;
margin-bottom: 2em; margin-bottom: 2em;
} }