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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...