Mercurial > octave
changeset 29473:6aafc1637e39
* tab-bar.cc: added a comment regarding source for rotated tabs
author | Torsten Lilge <ttl-octave@mailbox.org> |
---|---|
date | Wed, 31 Mar 2021 18:43:46 +0200 |
parents | ad67c68bb22a |
children | 34922160bda9 |
files | libgui/src/tab-bar.cc |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libgui/src/tab-bar.cc Wed Mar 31 13:39:31 2021 +0200 +++ b/libgui/src/tab-bar.cc Wed Mar 31 18:43:46 2021 +0200 @@ -130,6 +130,10 @@ setCurrentIndex (tab_with_focus); } + // The following two functions are reimplemented for allowing rotated + // tabs and are based on this answer on stack overflow: + // https://stackoverflow.com/a/50579369 + // Reimplemented size hint allowing rotated tabs QSize tab_bar::tabSizeHint (int idx) const {