cloose / CuteMarkEd

Qt Markdown Editor
http://cloose.github.io/CuteMarkEd
Other
1.48k stars 319 forks source link

Remember the width ratio of sections. #339

Open klonos opened 7 years ago

klonos commented 7 years ago

This is related. but not the same as #266...

I have set my layout to be TOC on the left, then markdown, then preview.

I need the markdown section to be of specific width (enough to hold 80 chars and not wrap them and at the same time no horizontal scrollbars), so I drag the borders to my preferred width, but when the editor is closed and opened again, the widths I have set are forgotten and reset to defaults (looks like so to have markdown and preview 50/50).

Now, with the TOC section width, if the width is set below the 1/3, it is remembered between sessions. If it is above the 1/3 (drag the markdown and preview section to say a ridiculous 5/1/1), then the layout is reset to 1/1/1 upon restart.

Anyways, point is that I need the widths of the sections remembered. Thanx for considering this.