question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't change height of calendar to fullScreen

See original GitHub issue

Description

Can’t stretch calendar to full Screen

If i add:

<Calendar
        style={{height:100}}
...

i get: height100calendar

So the calendar is not resized to fit its height. So if i add:

<Calendar
        style={{height:"100%"}}
...

height100percent

Calendar will have it’s fixed height, and won’t stretch to full screen. So, my question is, is there any way of stretching Calendar to fullScreen mode?

Environment

Android tested only

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8

github_iconTop GitHub Comments

18reactions
Ahmed-Imamcommented, Jan 27, 2019

calendarHeight={100}

18reactions
Akhoycommented, Jan 9, 2019

Had the same issue. You need to override the stylesheet.day.basic theme like so:

<Calendar theme={{
    'stylesheet.day.basic':{
      'base':{
        width:30,
        height:100
      }
    }
}} />

It is hard-coded as 32 X 32 here: https://github.com/wix/react-native-calendars/blob/master/src/calendar/day/basic/style.js#L9

Read more comments on GitHub >

github_iconTop Results From Across the Web

Make calendar edit window to small from fullscreen
I want the edit window to go back to small size (floating on top of the calendar).
Read more >
resize outlook startup page to full screen - Microsoft Community
Select Shortcut tab, under Run option select the option Maximize and click Apply ad Ok. · Now try to open Outlook and check....
Read more >
Fullcalendar: How Do I fit the calendar to the size of screen
At least works on Google Chrome. Doing this now results in a Calendar that is 1/2 the current screen size.
Read more >
height - Docs - FullCalendar
Sets the height of the entire calendar, including header and footer. By default, this option is unset and the calendar's height is calculated...
Read more >
Outlook Windows won't open or resize - Slipstick Systems
Are your Outlook windows stuck on full screen or minimized? ... screen or edit the registry to reset the Outlook window to the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found