# I want to know the command to moving pad

**URL:** <https://root-forum.cern.ch/t/i-want-to-know-the-command-to-moving-pad/45334>\
**Category:** Newbie\
**Created:** [June 10, 2021, 10:27am UTC](https://root-forum.cern.ch/t/i-want-to-know-the-command-to-moving-pad/45334 "2021-06-10T10:27:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![IKoro](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/i/3e96dc/32.png) [@IKoro](https://root-forum.cern.ch/u/IKoro)\
**Post date:** [June 10, 2021, 10:27am UTC](https://root-forum.cern.ch/t/i-want-to-know-the-command-to-moving-pad/45334/1 "2021-06-10T10:27:05Z")

</div>

Hello everyone,  
I use the function gstyle and it’s works but i want to move the pad on left. When i can do that ?

> gStyle-\>SetOptStat(0);  
> gStyle-\>SetOptFit(1111);
> 
> TCanvas \*c1 = new TCanvas();

 ![005](https://root-forum.cern.ch/uploads/default/original/3X/5/1/51813977b1c19b905bb6c559edef889055874214.png)

---

<div class="post-metadata">

**Author:** ![linev](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/l/2bfe46/32.png) [@linev](https://root-forum.cern.ch/u/linev)\
**Post date:** [June 10, 2021, 10:53am UTC](https://root-forum.cern.ch/t/i-want-to-know-the-command-to-moving-pad/45334/2 "2021-06-10T10:53:02Z")

</div>

Try:

```auto
gStyle->SetPadLeftMargin(0.05);

```

More info you can find in [TStyle documentaion](https://root.cern/doc/master/classTStyle.html)

---

<div class="post-metadata">

**Author:** ![IKoro](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/i/3e96dc/32.png) [@IKoro](https://root-forum.cern.ch/u/IKoro)\
**Post date:** [June 10, 2021, 10:55am UTC](https://root-forum.cern.ch/t/i-want-to-know-the-command-to-moving-pad/45334/3 "2021-06-10T10:55:35Z")

</div>

Thank you linev

---

<div class="post-metadata">

**Author:** ![IKoro](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/i/3e96dc/32.png) [@IKoro](https://root-forum.cern.ch/u/IKoro)\
**Post date:** [June 10, 2021, 11:36am UTC](https://root-forum.cern.ch/t/i-want-to-know-the-command-to-moving-pad/45334/4 "2021-06-10T11:36:42Z")

</div>

Sorry but i think I explained myself poorly.

I want to move the window with stats on left. Not the pad sorry.

---

<div class="post-metadata">

**Author:** ![linev](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/l/2bfe46/32.png) [@linev](https://root-forum.cern.ch/u/linev)\
**Post date:** [June 10, 2021, 11:39am UTC](https://root-forum.cern.ch/t/i-want-to-know-the-command-to-moving-pad/45334/5 "2021-06-10T11:39:40Z")

</div>

Then try:

```auto
gStyle->SetStatX(0.5);
gStyle->SetStatW(0.2);

```
