Re: Extension problem



Does nobody have any idea how to fix the odd padding on this?

On Mon, 2013-11-11 at 22:47 +0000, Sam Bull wrote:
Having a small problem with the visual appearance of my extension.

I've previously been using an St.BoxLayout widget for my notes. But, it
seems in 3.10, this will no longer allow me to overlap the close
buttons. To work around this, I've put the BoxLayout into a new
St.Widget.

However, this seems to have resulted in the notes spreading halfway into
the spacing to the right and below of the note.

http://sambull.org/Screenshot1.png
http://sambull.org/Screenshot2.png

Screenshot2 is the old version, and is how it should look.
You can see in Screenshot1 that the notes continue too far to the right
and below. This results in the bottom looking like it's been cut off.

The only difference between these versions, is changing this:
        this.actor = new St.Widget();
        this.actor.add_actor(this._box);
To this:
        this.actor = this._box;

If you'd like to check the code, I'm attaching that as well, the code in
question is located in view.js around lines 190-200.

http://sambull.org/notes sam 2 sambull org zip

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]