PeterStaev / NativeScript-Drop-Down

A NativeScript DropDown widget.
Apache License 2.0
105 stars 65 forks source link

Dropdown items take too much space #160

Closed HunterJS-bit closed 6 years ago

HunterJS-bit commented 6 years ago

I have a question: Why do dropdown items take space of the longest string in inputs??? My Code sample: <dd:DropDown items="{{ states }}" class="ab_dropdown_r" hint="" selectedIndex="{{ statesSelectedIndex }}" opened="dropDownOpened" closed="dropDownClosed" selectedIndexChanged="dropDownSelectedIndexChanged"/>

.ab_dropdown_r { vertical-align: center; horizontal-align: right; padding: 5; }

PeterStaev commented 6 years ago

@markomiljkovic , I do not understand what do you mean with "take space of the longest inputs". Please provide more details, screenshots and what are you trying to achieve.

HunterJS-bit commented 6 years ago

Never mind, the issue was at my side with GridLayout.. You can close, thanx for fast response :)