Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

michel2018
New Contributor II

Qliksense - how to center the text of a filter in Qlik Sense?

Hello, in Qlikview it was easy to center the text of a filter in Qlik Sense. but with Qlik Sense the sistem automatically align it to the left or to the right. Can someboy help me to solve this issue? Thank you very much.

1 Solution

Accepted Solutions
bwisealiahmad
Valued Contributor

Re: Qliksense - how to center the text of a filter in Qlik Sense?

Hi,

In the default filter pane you can't chose the alignment of the text, but you could change the text type.

If you per say write:

Text(DimensionName) that makes it into a text field and will LEFT ALIGN it.

If you on the other hand change it to

Num(DimensionName) that will make it into a number field and RIGHT ALIGN it.

Capture.PNG

Otherwise get an extension like SimpleField: Qlik Branch

Best,

Ali A

4 Replies
bwisealiahmad
Valued Contributor

Re: Qliksense - how to center the text of a filter in Qlik Sense?

Hi,

In the default filter pane you can't chose the alignment of the text, but you could change the text type.

If you per say write:

Text(DimensionName) that makes it into a text field and will LEFT ALIGN it.

If you on the other hand change it to

Num(DimensionName) that will make it into a number field and RIGHT ALIGN it.

Capture.PNG

Otherwise get an extension like SimpleField: Qlik Branch

Best,

Ali A

balabhaskarqlik
Honored Contributor

Re: Qliksense - how to center the text of a filter in Qlik Sense?

By Default: QS aligns Text data in left side & Numeric data in right side.

If you want to change this, then try something like this:

It can be done within a mashup.

Just add an addition stylesheet or alter the stylesheet of the mashup and add the following:

.qv-object-header {

margin-right: auto;

margin-left: auto;

padding: 0;

}

.qv-object .qv-object-title {

padding: 0;

}

.qv-object .qv-object-title.qv-rtl-layout {

padding: 0;

}

michel2018
New Contributor II

Re: Qliksense - how to center the text of a filter in Qlik Sense?

Hello Ali, thank you very much for your quick answer.

Saludos from brussels

michel2018
New Contributor II

Re: Qliksense - how to center the text of a filter in Qlik Sense?

Hello Bala, thank you very much for your quick answer.

Saludos from Brussels

Community Browser