UI: Only Show Spreadsheet Scroll Bars When Necessary
Hides Spreadsheet editor scroll bars when not needed. Pull Request: https://projects.blender.org/blender/blender/pulls/110403
This commit is contained in:
committed by
Harley Acheson
parent
f3f31054ba
commit
1dfeac246d
@@ -163,7 +163,8 @@ static void spreadsheet_id_remap(ScrArea * /*area*/, SpaceLink *slink, const IDR
|
||||
|
||||
static void spreadsheet_main_region_init(wmWindowManager *wm, ARegion *region)
|
||||
{
|
||||
region->v2d.scroll = V2D_SCROLL_RIGHT | V2D_SCROLL_BOTTOM;
|
||||
region->v2d.scroll = V2D_SCROLL_RIGHT | V2D_SCROLL_BOTTOM | V2D_SCROLL_VERTICAL_HIDE |
|
||||
V2D_SCROLL_HORIZONTAL_HIDE;
|
||||
region->v2d.align = V2D_ALIGN_NO_NEG_X | V2D_ALIGN_NO_POS_Y;
|
||||
region->v2d.keepzoom = V2D_LOCKZOOM_X | V2D_LOCKZOOM_Y | V2D_LIMITZOOM | V2D_KEEPASPECT;
|
||||
region->v2d.keeptot = V2D_KEEPTOT_STRICT;
|
||||
|
||||
Reference in New Issue
Block a user