UI: Nudge Curve Editor Away from Scrollbar
This patch increases left and right padding of the Curve Editor to avoid scrollbars Reviewed by Brecht Van Lommel
This commit is contained in:
Submodule release/datafiles/locale updated: 199b3a7c2f...2eab3be9bb
Submodule release/scripts/addons updated: 3683429de0...fa8787a67e
Submodule release/scripts/addons_contrib updated: ca68e1d4e0...f72ec13e35
@@ -4669,6 +4669,9 @@ void ui_draw_but(const bContext *C, ARegion *ar, uiStyle *style, uiBut *but, rct
|
||||
break;
|
||||
|
||||
case UI_BTYPE_CURVE:
|
||||
/* do not draw right to edge of rect */
|
||||
rect->xmin += (0.2f * UI_UNIT_X);
|
||||
rect->xmax -= (0.2f * UI_UNIT_X);
|
||||
ui_draw_but_CURVE(ar, but, &tui->wcol_regular, rect);
|
||||
break;
|
||||
|
||||
|
||||
Submodule source/tools updated: 3ee979c1eb...2afbb8ec47
Reference in New Issue
Block a user