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

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