fixed bugs of resized widgets

This commit is contained in:
kojima committed 2000-11-11 18:08:10 +00:00
1 parent 4d41658e1a
commit 52308a0abc
8 files changed
+116 -17

No files matched your search

+3 -1
View File
@@ -73,6 +73,8 @@ WMCreateScrollView(WMWidget *parent)
sPtr->view->delegate = &_ScrollViewViewDelegate;
W_SetViewBackgroundColor(sPtr->viewport,
WMBlackColor(WMWidgetScreen(parent)));
sPtr->viewport->flags.mapWhenRealized = 1;
WMCreateEventHandler(sPtr->view, StructureNotifyMask|ExposureMask,
@@ -163,7 +165,7 @@ reorganizeInterior(WMScrollView *sPtr)
W_ResizeView(sPtr->viewport, cw, ch);
W_MoveView(sPtr->viewport, cx, cy);
if (sPtr->flags.hasHScroller) {
WMResizeWidget(sPtr->hScroller, hw, 20);
WMMoveWidget(sPtr->hScroller, hx, hy);