]> git.lyx.org Git - features.git/commit
Add layout intelligence to View Source pane (bug #8653).
authorPavel Sanda <sanda@lyx.org>
Sun, 5 May 2013 06:05:51 +0000 (23:05 -0700)
committerPavel Sanda <sanda@lyx.org>
Sun, 5 May 2013 06:05:51 +0000 (23:05 -0700)
commit49c2450f3f6cb67a36f8fa987ad287a8bff11d79
treea663aeb3ef227d10bce5d43bdcf6f9f66461e38d
parent030326466f72828727ddf3309cac13761c5b59ab
Add layout intelligence to View Source pane (bug #8653).

View Source pane layout now automatically switches between horizontal
and vertical design when docked in vertical or horizontal way.

Original idea and patch from Edwin.

http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg178801.html

Note: the long standing-fight with too bulky minimal QTextEdit size
is now solved via ViewSourceUi.sizePolicy=Ignored.
src/frontends/qt4/GuiViewSource.cpp
src/frontends/qt4/GuiViewSource.h
src/frontends/qt4/ui/ViewSourceUi.ui