mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-26 09:35:49 +01:00
_ fixed bug in resizing a scrollview
- read both XLFDs and XFT style font names from config files (xft case only)
This commit is contained in:
@@ -246,15 +246,16 @@ WMResizeScrollViewContent(WMScrollView *sPtr, unsigned int width,
|
||||
h += 4;
|
||||
x = 1;
|
||||
}
|
||||
|
||||
|
||||
if (sPtr->flags.hasVScroller) {
|
||||
width -= W_VIEW(sPtr->hScroller)->size.width;
|
||||
WMResizeWidget(sPtr->vScroller, 20, h);
|
||||
}
|
||||
width -= W_VIEW(sPtr->vScroller)->size.width;
|
||||
}
|
||||
|
||||
if (sPtr->flags.hasHScroller) {
|
||||
height -= W_VIEW(sPtr->hScroller)->size.height;
|
||||
WMResizeWidget(sPtr->hScroller, w, 20);
|
||||
WMMoveWidget(sPtr->hScroller, x, h);
|
||||
height -= W_VIEW(sPtr->hScroller)->size.height;
|
||||
}
|
||||
|
||||
W_ResizeView(sPtr->view, w, h);
|
||||
|
||||
Reference in New Issue
Block a user