Visual improvements

This commit is contained in:
DanyLE 2022-07-05 15:04:18 +02:00
parent 52af4b6940
commit 61de95788c
5 changed files with 16 additions and 7 deletions

Binary file not shown.

View File

@ -567,7 +567,7 @@ namespace OS {
* Scheme definition
*/
CalendarDialog.scheme = `\
<afx-app-window width='300' height='230' apptitle = "Calendar" >
<afx-app-window width='300' height='250' apptitle = "Calendar" >
<afx-vbox>
<afx-hbox>
<div data-width = "10" ></div>

View File

@ -33,7 +33,17 @@ namespace OS {
* @protected
* @memberof LabelTag
*/
protected mount() {}
protected mount() {
$(this.refs.container)
.css("display", "flex")
.css("flex-direction", "row");
$(this.refs.iclass)
.css("flex-shrink",0);
$(this.refs.i)
.css("flex-shrink",0);
$(this.refs.text)
.css("flex",1);
}
/**
* Refresh the text in the label

View File

@ -5,3 +5,6 @@ afx-calendar-view afx-grid-view afx-grid-row:nth-child(even) afx-grid-cell
afx-calendar-view afx-grid-view .grid_row_header afx-grid-cell{
border-right: 0;
}
afx-calendar-view afx-label {
display: inline-block;
}

View File

@ -1,10 +1,7 @@
afx-label i.icon-style {
display: inline-block;
flex-shrink: 0;
}
afx-label span {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
}
@ -12,5 +9,4 @@ afx-label i.label-text{
font-weight: normal;
font-style: normal;
margin-left: 3px;
flex: 1;
}