Skip to content

Using WebButton as WebTextField Leading/Trailing Component #711

@HouariBoumediane

Description

@HouariBoumediane

Hi,
First, thank you for this great job;
I am using WebLaf it's been years (starting with 1.29);
Now i have moved to v.1.2.14, before, it was easy for me, but now i can't add webButton inside WebTextField as Leading or Trailing Component and get a WebDateField, WebColorChooserField or WebTreeFilterField similar component.
Also, if use : WebButton btn = new WebButton ( StyleId.datefieldButton.at (tf), Icons.filter, Icons.filterHover ); I get this error :

[AWT-EventQueue-0] WARN com.alee.managers.style.data.SkinInfo - Unable to find style 'textfield:textfield.button' for component: com.alee.laf.button.WebButton[,0,0,0x0,invalid,alignmentX=0.0,alignmentY=0.5,border=com.alee.utils.laf.WebBorder@3d580f4a,flags=288,maximumSize=,minimumSize=,preferredSize=,defaultIcon=com.alee.managers.icon.LazyIcon[id=filter],disabledIcon=,disabledSelectedIcon=,margin=null,paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=,defaultCapable=true]

Also, can i use transparent WebTextField with input prompt and just borders.

Thanks in advance.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions