Open jvpessoa10 opened 4 years ago
same wish !
Seconded.
My workaround:
--- notes@maestroschan.fr/noteBox.js 2021-11-20 17:00:52.000000000 +0300
+++ notes@maestroschan.fr_updated/noteBox.js 2022-05-10 11:32:36.254579757 +0300
@@ -91,6 +91,7 @@
track_hover: true,
x_expand: true,
style_class: 'notesTextField',
+ y_align: Clutter.ActorAlign.START,
});
let clutterText = this.noteEntry.get_clutter_text();
clutterText.set_single_line_mode(false);
@@ -346,7 +348,7 @@
}
_applyNoteStyle () {
- let temp = 'background-color: rgba(' + this.customColor + ', 0.8);';
+ let temp = 'background-color: rgba(' + this.customColor + ', 0);';
if(this._fontColor != '') {
temp += 'color: ' + this._fontColor + ';';
}
@@ -354,6 +356,7 @@
temp += 'font-size: ' + this._fontSize + 'px;';
}
this.noteEntry.style = temp;
+ this._entryBox.style = 'background-color: rgba(' + this.customColor + ', 0.8);';
}
_getKeyFocus () {
Currently, the text starts at the middle of the note. As an user, I would suggest to change it to the top. And when the text hits the end of the note, the container would start scrolling with it.