mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-12 21:22:31 +00:00
* Fixed download menu.
* Use bold when ElementMenu loses focus. * Added an exit slot to ElementBase and bind to that from withing the subclasses. * Moved peer info to ElementPeerList, accessed by the right arrow. Download info will be moved to a seperate Element. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@752 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -58,6 +58,9 @@ WindowText::push_back(TextElement* element) {
|
||||
// m_minHeight = size();
|
||||
m_maxHeight = size();
|
||||
|
||||
if (element != NULL)
|
||||
m_maxWidth = std::max(m_maxWidth, element->max_length() + 2);
|
||||
|
||||
// Check if active, if so do the update thingie. Or be lazy?
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user