SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH5 Mods Workshop
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 04-17-10, 10:28 AM   #11
reaper7
sim2reality
 
Join Date: Jun 2007
Location: AM 82
Posts: 2,288
Downloads: 262
Uploads: 31
Default

Quote:
Originally Posted by TheDarkWraith View Post

This little bug fix exposed another bug that has gone unnoticed. If you resize the mini-map from a minimized state (by dragging the resize handle), the map tools never expand. I have to fix this now.
I have just solved that one in The UI mod i'm currently working on with a simple fix (Although it took me the best part of 2 days to get it working - A lot of messing and changing things )

In the Page Default.py Change the following:

From:

maximize = ( map.Width >= MapGroupSizes[ FeedBackModes.Maximized ].Width - 20.0 ) and ( map.Height >= MapGroupSizes[ FeedBackModes.Maximized ].Height - 20.0 )
MakeSureMapToolsGroupIsExtended( maximize )

To:

maximize = ( map.Height >= 270 )
MakeSureMapToolsGroupIsExtended( maximize )

Now the Map tools will appear when the MapTools is dragged above the defined heigth of 270, This is the height of my MapTools in the (Stock would prob be around 220)



Hope that helps
reaper7 is offline   Reply With Quote
 

Tags
dbrn, favorite, new ui

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 04:34 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright © 1995- 2026 Subsim®
"Subsim" is a registered trademark, all rights reserved.