# Fullscreen have scrollbars

**URL:** <https://forum.inductiveautomation.com/t/fullscreen-have-scrollbars/8804>\
**Category:** Ignition\
**Created:** [July 29, 2014, 8:00am UTC](https://forum.inductiveautomation.com/t/fullscreen-have-scrollbars/8804 "2014-07-29T08:00:41Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![StefanGronberg](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/stefangronberg/32/6288_2.png) [@StefanGronberg](https://forum.inductiveautomation.com/u/StefanGronberg)\
**Post date:** [July 29, 2014, 8:00am UTC](https://forum.inductiveautomation.com/t/fullscreen-have-scrollbars/8804/1 "2014-07-29T08:00:41Z")

</div>

Hi, We have this project, running in fullscreen in a Windows 7 64-bit PanelPC.  
The project is set to 1024x768. The PanelPC is set to 1024x768.  
The taskbar is set to autohide.

I have tried to set the minimum size both much larger or much smaller then the screen resolution.

Either the scrollbar stays, or gets longer (more to scroll)

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/7/700b2a5d0c8c8ea42a17991630f5ce32fbc26890.png)  

What do i need to change, so theese scrollbar will not come back?

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [July 29, 2014, 11:33am UTC](https://forum.inductiveautomation.com/t/fullscreen-have-scrollbars/8804/2 "2014-07-29T11:33:01Z")

</div>

Hi! Welcome to the forums!

Your project size needs to be smaller then the screen resolution. a window border still exists, even if it’s running fullscreen

Here is a sample from one of my projects running on 1280x720

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/e/ec86b826fc3a0e4ba32771cc3a1b615d5035ad06.png)  
  
 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/c/c5a36f43ccb323f421ef7fed8371a80aee37617f.png)

---

<div class="post-metadata">

**Author:** ![StefanGronberg](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/stefangronberg/32/6288_2.png) [@StefanGronberg](https://forum.inductiveautomation.com/u/StefanGronberg)\
**Post date:** [July 29, 2014, 11:49am UTC](https://forum.inductiveautomation.com/t/fullscreen-have-scrollbars/8804/3 "2014-07-29T11:49:46Z")

</div>

Hi.

I tried to lower the screen size even down to

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/6/6f837ba0e4add95febb4598d05f5e3db44c1f146.png)  
  
 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/8/8e6f9ecc68514c78d8a2a802b4a2036b3823d364.png)  

I still see the horizontal scrollbar.

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [July 29, 2014, 12:56pm UTC](https://forum.inductiveautomation.com/t/fullscreen-have-scrollbars/8804/4 "2014-07-29T12:56:21Z")

</div>

OK, so what about the actual size of the windows?

The reason I put my Minimum Size even smaller than the ‘launch size’, is so that, when I design my windows, I get a rough locator in the designer. If it fits in the box, it’ll fit in the screen.

You may need to adjust your actual window sizes down.

---

<div class="post-metadata">

**Author:** ![Paullys50](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paullys50/32/3324_2.png) [@Paullys50](https://forum.inductiveautomation.com/u/Paullys50)\
**Post date:** [July 29, 2014, 2:23pm UTC](https://forum.inductiveautomation.com/t/fullscreen-have-scrollbars/8804/5 "2014-07-29T14:23:15Z")

</div>

Check all your window sizes, I went through this when designing for 1920x1080.

Actually screen sizes are configured as:  
1916x1076, seems that there is a 2 pixel boarder all around when in “full screen” mode.

---

<div class="post-metadata">

**Author:** ![StefanGronberg](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/stefangronberg/32/6288_2.png) [@StefanGronberg](https://forum.inductiveautomation.com/u/StefanGronberg)\
**Post date:** [July 30, 2014, 5:31am UTC](https://forum.inductiveautomation.com/t/fullscreen-have-scrollbars/8804/6 "2014-07-30T05:31:07Z")

</div>

Hi.

This is quite wierd. playing with minimum size doesnt seem to help

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/d/d2db5d42710589a964f6afa9192a85cbb27a2bce.png)  
  
 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/f/f6d2645a7f6764377bd7484b63fb302a7f7c96d6.png)  
  
The blue border is from the vnc window im running to check. even without the vnc on it still looks just like that on the panel it self.

The project its mainly a window and using several templates that is show and hidden via the tabstrip, i have tried to make the templates really small.  
No change in the scrollbar.

---

<div class="post-metadata">

**Author:** ![tebright1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tebright1/32/87405_2.png) [@tebright1](https://forum.inductiveautomation.com/u/tebright1)\
**Post date:** [January 7, 2015, 7:45pm UTC](https://forum.inductiveautomation.com/t/fullscreen-have-scrollbars/8804/7 "2015-01-07T19:45:45Z")

</div>

Same issue. I have tried making the application smaller than the resolution. No luck. 👿👿👿👿

---

<div class="post-metadata">

**Author:** ![richardNZ15](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/richardnz15/32/33373_2.png) [@richardNZ15](https://forum.inductiveautomation.com/u/richardNZ15)\
**Post date:** [May 22, 2016, 10:09pm UTC](https://forum.inductiveautomation.com/t/fullscreen-have-scrollbars/8804/8 "2016-05-22T22:09:00Z")

</div>

I’ve had the same problem with scrollbars, until finding this post. It seems a bit crap, but i see to have got it working by lowering the resolution of the Client and applet size from 1920 down to 1910.  
I have attached a few screenshots of the settings changed. I don’t fully understand all the differences between these settings, but at least it’s made some improvement.  
A bit odd, but i guess when designing projects, we need to take a few pixels off our “Maximum” monitor resolution and work within that.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [May 23, 2016, 12:39am UTC](https://forum.inductiveautomation.com/t/fullscreen-have-scrollbars/8804/9 "2016-05-23T00:39:23Z")

</div>

Y’all might find the following full-screen border fixer helpful:

```auto
comp = event.source
appRoot = comp.parent.rootPane.parent
while comp:
	try:
		comp.setBorder(None)
		b = comp.getBorder()
	except:
		b = "Fail"
	print "%s (%s) @ %d,%d %dx%d border=%s" % (comp.name, str(comp.getClass()), comp.x, comp.y, comp.width, comp.height, b)
	if comp is appRoot:
		break
	comp = comp.parent

```

Place it in any startup window’s internalFrameOpened() event. It only needs to run once, but does no harm if run again.  
The annoying extra border comes from the JScrollPane’s viewport. That would be the JScrollPane that adds scrollbars to the entire application when any floating window is dragged down or right.

---

<div class="post-metadata">

**Author:** ![weertske](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/weertske/32/3353_2.png) [@weertske](https://forum.inductiveautomation.com/u/weertske)\
**Post date:** [July 7, 2020, 11:33pm UTC](https://forum.inductiveautomation.com/t/fullscreen-have-scrollbars/8804/10 "2020-07-07T23:33:21Z")

</div>

Phil,

I am trying to use your code. Is this parsed correctly:

```auto
comp = event.source
appRoot = comp.parent.rootPane.parent
while comp: 
	try: 
		comp.setBorder(None)
		b = comp.getBorder()
	except: 
		b = "Fail"
		print "%s (%s) @ %d,%d %dx%d border=%s" % (comp.name, str(comp.getClass()), comp.x, comp.y, comp.width, comp.height, b) 
		if comp is appRoot:
			break
		comp = comp.parent

```

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [July 7, 2020, 11:58pm UTC](https://forum.inductiveautomation.com/t/fullscreen-have-scrollbars/8804/11 "2020-07-07T23:58:59Z")

</div>

@weertske, I updated Phil’s original comment to the new forum’s code formatting. Looks like you _almost_ had it.
