# Goto Line Dialog

**URL:** <https://forum.alternetsoft.com/t/goto-line-dialog/296>\
**Category:** AlterNET Studio Support\
**Created:** [April 4, 2022, 1:08pm UTC](https://forum.alternetsoft.com/t/goto-line-dialog/296 "2022-04-04T13:08:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![lucid.dion](https://forum.alternetsoft.com/user_avatar/forum.alternetsoft.com/lucid.dion/32/71_2.png) [@lucid.dion](https://forum.alternetsoft.com/u/lucid.dion)\
**Post date:** [April 4, 2022, 1:08pm UTC](https://forum.alternetsoft.com/t/goto-line-dialog/296/1 "2022-04-04T13:08:23Z")

</div>

We are using the Dark Theme (Editor WPF), and when we press Control-G the Goto Line dialog is only partially themed, so the descriptive text is not readable for example. Is this a known issue or is there any way to control it?

![image](https://forum.alternetsoft.com/uploads/default/original/1X/1d0fdc35dbf9686505b2711748bc77a85ce3d4c2.png)

---

<div class="post-metadata">

**Author:** ![yevgeni.zolotko](https://forum.alternetsoft.com/user_avatar/forum.alternetsoft.com/yevgeni.zolotko/32/25_2.png) [@yevgeni.zolotko](https://forum.alternetsoft.com/u/yevgeni.zolotko)\
**Post date:** [April 6, 2022, 8:05am UTC](https://forum.alternetsoft.com/t/goto-line-dialog/296/2 "2022-04-06T08:05:40Z")

</div>

Thank you for reporting this issue. Before I will go into fixing it/finding a workaround, could you please tell me how did you get the black buttons/text box in the dialog on your screenshot? This is how it looks on my machine in the CodeEditor demo with the Dark theme on:

 ![image](https://forum.alternetsoft.com/uploads/default/original/1X/d62c2b34f8c52172dd8ff5a5f16f44657491e644.png)

---

<div class="post-metadata">

**Author:** ![lucid.dion](https://forum.alternetsoft.com/user_avatar/forum.alternetsoft.com/lucid.dion/32/71_2.png) [@lucid.dion](https://forum.alternetsoft.com/u/lucid.dion)\
**Post date:** [April 6, 2022, 3:25pm UTC](https://forum.alternetsoft.com/t/goto-line-dialog/296/3 "2022-04-06T15:25:35Z")

</div>

We do use an application-wide Style. It looks like our “Dark” theme style is making these changes in this dialog’s controls?

---

<div class="post-metadata">

**Author:** ![yevgeni.zolotko](https://forum.alternetsoft.com/user_avatar/forum.alternetsoft.com/yevgeni.zolotko/32/25_2.png) [@yevgeni.zolotko](https://forum.alternetsoft.com/u/yevgeni.zolotko)\
**Post date:** [April 7, 2022, 5:23pm UTC](https://forum.alternetsoft.com/t/goto-line-dialog/296/4 "2022-04-07T17:23:04Z")

</div>

In case you already have application-wide styling, could you please try adding the following line to your App.xaml `ResourceDictionary`:

```
        <SolidColorBrush x:Key="{x:Static SystemColors.ControlBrushKey}" Color="#2D2D30" />

```

That should fix the gray background in the dialog. Let me know if it helps. We will think how to fix this in the editor (or samples) to work out-of-the box.

---

<div class="post-metadata">

**Author:** ![lucid.dion](https://forum.alternetsoft.com/user_avatar/forum.alternetsoft.com/lucid.dion/32/71_2.png) [@lucid.dion](https://forum.alternetsoft.com/u/lucid.dion)\
**Post date:** [April 8, 2022, 4:56pm UTC](https://forum.alternetsoft.com/t/goto-line-dialog/296/5 "2022-04-08T16:56:35Z")

</div>

Thank you, that did the trick!
