Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Put note text in top of the container instead of in middle #51

Open
jvpessoa10 opened this issue Sep 1, 2020 · 3 comments
Open

Put note text in top of the container instead of in middle #51

jvpessoa10 opened this issue Sep 1, 2020 · 3 comments
Labels
enhancement GS poor inputs issues related to GNOME Shell catastrophic text inputs UI

Comments

@jvpessoa10
Copy link

jvpessoa10 commented Sep 1, 2020

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.

@jvpessoa10 jvpessoa10 changed the title Put text in top of the container instead of in middleasd Put text in top of the container instead of in middle Sep 1, 2020
@jvpessoa10 jvpessoa10 changed the title Put text in top of the container instead of in middle Put note text in top of the container instead of in middle Sep 1, 2020
@maoschanz maoschanz added the GS poor inputs issues related to GNOME Shell catastrophic text inputs label Feb 21, 2021
@JPnux
Copy link

JPnux commented Dec 31, 2021

same wish !

@floe
Copy link

floe commented Jan 10, 2022

Seconded.

@tavatir
Copy link

tavatir commented May 10, 2022

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 () {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement GS poor inputs issues related to GNOME Shell catastrophic text inputs UI
Projects
None yet
Development

No branches or pull requests

5 participants