mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-12 09:34:15 +01:00
removed default autowrap from button and label
This commit is contained in:
@@ -45,6 +45,7 @@ libWINGs_a_SOURCES = \
|
||||
wapplication.c \
|
||||
wappresource.c \
|
||||
wballoon.c \
|
||||
wbox.c \
|
||||
wbrowser.c \
|
||||
wbutton.c \
|
||||
wcolor.c \
|
||||
|
||||
@@ -650,7 +650,7 @@ paintButton(Button *bPtr)
|
||||
}
|
||||
}
|
||||
|
||||
W_PaintTextAndImage(bPtr->view, True, WMColorGC(textColor),
|
||||
W_PaintTextAndImage(bPtr->view, False, WMColorGC(textColor),
|
||||
(bPtr->font!=NULL ? bPtr->font : scrPtr->normalFont),
|
||||
relief, caption, bPtr->flags.alignment, image,
|
||||
bPtr->flags.imagePosition, gc, offset);
|
||||
|
||||
@@ -69,6 +69,7 @@ WMCreateLabel(WMWidget *parent)
|
||||
lPtr->flags.alignment = DEFAULT_ALIGNMENT;
|
||||
lPtr->flags.relief = DEFAULT_RELIEF;
|
||||
lPtr->flags.imagePosition = DEFAULT_IMAGE_POSITION;
|
||||
lPtr->flags.noWrap = 1;
|
||||
|
||||
return lPtr;
|
||||
}
|
||||
|
||||
@@ -163,7 +163,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);
|
||||
|
||||
Reference in New Issue
Block a user