All Apps and Add-ons

Can i resize the width of a pulldown and a TextField?

royimad
Builder

I have a pulldown where i would like to resize the width and also resize the width of a TextField , how to do that in sideview/splunk?

<module name="Search"  layoutPanel="panel_row1_col1" autoRun="True">
  <param name="search">sourcetype="serverlog" | dedup origin  | sort origin | fields origin</param>
  <module name="Pulldown" layoutpanel="panel_row1_col1">
    <param name="name">selectedSourcetypes</param>
    <param name="label"></param>
    <param name="size">5</param>        
    <param name="template">origin="$value$"</param>
    <param name="separator">+OR+</param>
    <param name="outerTemplate">( $value$ )</param>
    <param name="staticOptions"></param>
    <param name="valueField">origin</param>

    <module name="TextField" layoutpanel="panel_row1_col2">
      <param name="name">EventName</param>
      <param name="float">left</param>
      <param name="template">$value$</param>
      <param name="label"></param>
      <param name="default"></param> 

Thanks for your help,

1 Solution

royimad
Builder

This should work:
70%

View solution in original post

0 Karma

royimad
Builder

This should work:
70%

0 Karma

sideview
SplunkTrust
SplunkTrust

Yep. You can also specify pixels for both of them via

<param name="width">150px</param>

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...