Fix problem where hiding the status bar in a popup would cause the content

area to extend below the window and scrolling would be messed up and the
horizontal scrollbar would be hidden. (bug 153116).
This commit is contained in:
pinkerton%netscape.com 2002-08-06 19:20:28 +00:00
Родитель 462beec449
Коммит 93d6fa9aad
16 изменённых файлов: 22 добавлений и 30 удалений

4
camino/BrowserWindow.nib/info.nib сгенерированный
Просмотреть файл

@ -38,8 +38,10 @@
<key>IBLastGroupID</key>
<string>4</string>
<key>IBLockedObjects</key>
<array/>
<key>IBOpenObjects</key>
<array>
<integer>497</integer>
<integer>10</integer>
</array>
<key>IBSystem Version</key>
<string>5S66</string>

Двоичные данные
camino/BrowserWindow.nib/objects.nib сгенерированный

Двоичный файл не отображается.

Просмотреть файл

@ -252,16 +252,11 @@ static NSArray* sToolbarDefaults = nil;
[[self window] setShowsResizeIndicator:NO];
if ( mChromeMask && !(mChromeMask & nsIWebBrowserChrome::CHROME_STATUSBAR) ) {
// remove the status bar at the bottom and adjust the height of the content area. We
// have to turn off the autoresizing min flag to correctly pull the tab browser to
// the bottom of the window while we're resizing it.
// remove the status bar at the bottom and adjust the height of the content area.
float height = [mStatusBar frame].size.height;
[mStatusBar removeFromSuperview];
int mask = [mTabBrowser autoresizingMask];
[mTabBrowser setAutoresizingMask:(mask & !NSViewMinYMargin)];
[mTabBrowser setFrame:NSMakeRect([mTabBrowser frame].origin.x, [mTabBrowser frame].origin.y - height,
[mTabBrowser frame].size.width, [mTabBrowser frame].size.height + height)];
[mTabBrowser setAutoresizingMask:mask];
// clear out everything in the status bar we were holding on to. This will cause us to
// pass nil for these status items into the CHBrowserwWrapper which is what we want. We'll

4
camino/English.lproj/BrowserWindow.nib/info.nib сгенерированный
Просмотреть файл

@ -38,8 +38,10 @@
<key>IBLastGroupID</key>
<string>4</string>
<key>IBLockedObjects</key>
<array/>
<key>IBOpenObjects</key>
<array>
<integer>497</integer>
<integer>10</integer>
</array>
<key>IBSystem Version</key>
<string>5S66</string>

Двоичные данные
camino/English.lproj/BrowserWindow.nib/objects.nib сгенерированный

Двоичный файл не отображается.

Просмотреть файл

@ -38,8 +38,10 @@
<key>IBLastGroupID</key>
<string>4</string>
<key>IBLockedObjects</key>
<array/>
<key>IBOpenObjects</key>
<array>
<integer>497</integer>
<integer>10</integer>
</array>
<key>IBSystem Version</key>
<string>5S66</string>

Двоичные данные
camino/resources/localized/English.lproj/BrowserWindow.nib/objects.nib сгенерированный

Двоичный файл не отображается.

Просмотреть файл

@ -252,16 +252,11 @@ static NSArray* sToolbarDefaults = nil;
[[self window] setShowsResizeIndicator:NO];
if ( mChromeMask && !(mChromeMask & nsIWebBrowserChrome::CHROME_STATUSBAR) ) {
// remove the status bar at the bottom and adjust the height of the content area. We
// have to turn off the autoresizing min flag to correctly pull the tab browser to
// the bottom of the window while we're resizing it.
// remove the status bar at the bottom and adjust the height of the content area.
float height = [mStatusBar frame].size.height;
[mStatusBar removeFromSuperview];
int mask = [mTabBrowser autoresizingMask];
[mTabBrowser setAutoresizingMask:(mask & !NSViewMinYMargin)];
[mTabBrowser setFrame:NSMakeRect([mTabBrowser frame].origin.x, [mTabBrowser frame].origin.y - height,
[mTabBrowser frame].size.width, [mTabBrowser frame].size.height + height)];
[mTabBrowser setAutoresizingMask:mask];
// clear out everything in the status bar we were holding on to. This will cause us to
// pass nil for these status items into the CHBrowserwWrapper which is what we want. We'll

4
chimera/BrowserWindow.nib/info.nib сгенерированный
Просмотреть файл

@ -38,8 +38,10 @@
<key>IBLastGroupID</key>
<string>4</string>
<key>IBLockedObjects</key>
<array/>
<key>IBOpenObjects</key>
<array>
<integer>497</integer>
<integer>10</integer>
</array>
<key>IBSystem Version</key>
<string>5S66</string>

Двоичные данные
chimera/BrowserWindow.nib/objects.nib сгенерированный

Двоичный файл не отображается.

Просмотреть файл

@ -252,16 +252,11 @@ static NSArray* sToolbarDefaults = nil;
[[self window] setShowsResizeIndicator:NO];
if ( mChromeMask && !(mChromeMask & nsIWebBrowserChrome::CHROME_STATUSBAR) ) {
// remove the status bar at the bottom and adjust the height of the content area. We
// have to turn off the autoresizing min flag to correctly pull the tab browser to
// the bottom of the window while we're resizing it.
// remove the status bar at the bottom and adjust the height of the content area.
float height = [mStatusBar frame].size.height;
[mStatusBar removeFromSuperview];
int mask = [mTabBrowser autoresizingMask];
[mTabBrowser setAutoresizingMask:(mask & !NSViewMinYMargin)];
[mTabBrowser setFrame:NSMakeRect([mTabBrowser frame].origin.x, [mTabBrowser frame].origin.y - height,
[mTabBrowser frame].size.width, [mTabBrowser frame].size.height + height)];
[mTabBrowser setAutoresizingMask:mask];
// clear out everything in the status bar we were holding on to. This will cause us to
// pass nil for these status items into the CHBrowserwWrapper which is what we want. We'll

4
chimera/English.lproj/BrowserWindow.nib/info.nib сгенерированный
Просмотреть файл

@ -38,8 +38,10 @@
<key>IBLastGroupID</key>
<string>4</string>
<key>IBLockedObjects</key>
<array/>
<key>IBOpenObjects</key>
<array>
<integer>497</integer>
<integer>10</integer>
</array>
<key>IBSystem Version</key>
<string>5S66</string>

Двоичные данные
chimera/English.lproj/BrowserWindow.nib/objects.nib сгенерированный

Двоичный файл не отображается.

Просмотреть файл

@ -38,8 +38,10 @@
<key>IBLastGroupID</key>
<string>4</string>
<key>IBLockedObjects</key>
<array/>
<key>IBOpenObjects</key>
<array>
<integer>497</integer>
<integer>10</integer>
</array>
<key>IBSystem Version</key>
<string>5S66</string>

Двоичные данные
chimera/resources/localized/English.lproj/BrowserWindow.nib/objects.nib сгенерированный

Двоичный файл не отображается.

Просмотреть файл

@ -252,16 +252,11 @@ static NSArray* sToolbarDefaults = nil;
[[self window] setShowsResizeIndicator:NO];
if ( mChromeMask && !(mChromeMask & nsIWebBrowserChrome::CHROME_STATUSBAR) ) {
// remove the status bar at the bottom and adjust the height of the content area. We
// have to turn off the autoresizing min flag to correctly pull the tab browser to
// the bottom of the window while we're resizing it.
// remove the status bar at the bottom and adjust the height of the content area.
float height = [mStatusBar frame].size.height;
[mStatusBar removeFromSuperview];
int mask = [mTabBrowser autoresizingMask];
[mTabBrowser setAutoresizingMask:(mask & !NSViewMinYMargin)];
[mTabBrowser setFrame:NSMakeRect([mTabBrowser frame].origin.x, [mTabBrowser frame].origin.y - height,
[mTabBrowser frame].size.width, [mTabBrowser frame].size.height + height)];
[mTabBrowser setAutoresizingMask:mask];
// clear out everything in the status bar we were holding on to. This will cause us to
// pass nil for these status items into the CHBrowserwWrapper which is what we want. We'll