Questions tagged [items]

637 questions
4
votes
1 answer

Clear all elements of a carousel - Sencha

Dows anybody knows how to delete all elements on a carousel in sencha??? carousel = new Ext.Carousel({ fullscreen: true, defaults: { cls: 'carousel-item' }, items: [{ id:'tab-1', html: '', …
José Carlos
  • 1,005
  • 16
  • 29
4
votes
1 answer

Is there a way to adjust the width of UITabBar button items to fit more than 5 buttons on the screen?

My buttons seem stretched, especially in landscape orientation. I can't find a property to adjust either on the UITabBar, UITabBarViewController, or on the UITabBarItem's themselves. (Of course, one answer would be to get an iPad...but that…
Jay Imerman
  • 4,475
  • 6
  • 40
  • 55
4
votes
2 answers

Item control to delete itself from container control

There's a container control, a TScrollBox, that parents multiple item controls. Every item control, being compound itself, contains (parents & owns) a delete button. Pressing the button initiates the deleting of the item control. The deleting…
Andriy M
  • 76,112
  • 17
  • 94
  • 154
4
votes
2 answers

tkinter: How to change cursor over canvas items?

I am developing a small python gui, just for fun and for learning, and I have been trying to change the cursor shape over canvas items. I know that it is possible to change the cursor shape when hovering over a canvas widget, using the…
4
votes
2 answers

Delphi: Shift-Up and Shift-Down in the Listview

Is there a feature in the Listview control to shift items up and down?
Kermia
  • 4,171
  • 13
  • 64
  • 105
4
votes
0 answers

Can you get a similarity percentage between items using ElasticSearch?

I'm considering using ElasticSearch to hold, search and get statistics on data but I'm not sure if what I would like to do is possible or not. The main goal would be to get the percentage of similarity between items stored in the database. For…
4
votes
2 answers

Iterating through YAML list in python

I'm trying to read a YAML file and print out the list I have on there in order of what it is in the file. So YAML: b: ... a: ... And my python is: for key, value in yaml.load(open(input_file)).items(): print(str(key)) The output…
Rikg09
  • 165
  • 2
  • 2
  • 14
4
votes
1 answer

Filtering a list. Get elements of list only with a certain distance between items?

I need to get only those elements/items that are to some extent distant from each other. For example, I have a list of integers: data = [-2000, 1000, 2000, 3500, 3800, 4500, 4600, 5000, 6000] Let's assume I want to retrieve only those elements that…
Erba Aitbayev
  • 4,167
  • 12
  • 46
  • 81
4
votes
1 answer

How to change ForeColor of SelectedItem in ListBox

I am facing a little issue in my project how can I change fore-color of text of selected items in ListBox. I can select all items of ListBox but I don't know how to change fore-color of text of selected items. This code am using in my project for…
michael john
  • 95
  • 3
  • 12
4
votes
1 answer

Top rows disappear from UITableView upon reloadData() until scrolled Up/Down

I'm loading items from a web service to UITableView in an iOS application. The problem here is that as soon as the data gets loaded, the number of rows that are visible at top without scroll gets invisible. The page gets blank. If i scroll down,…
Aqib Bangash
  • 963
  • 1
  • 8
  • 22
4
votes
4 answers

UITabbarController Change Bar Item Title Programmatically

I'm trying to change the name of the tab bar item in my app programmatically. In my storyboard I have a UITabBarController set as the initial view and the hierarchy is as follows: UITabBarController -> UINavigationController ->…
user1531352
4
votes
1 answer

How to add list of missing values in c# list using Linq

I have a class like public class MyClass { public float Consumed { get; set;} public int RequiredValue { get; set;} } A list of this class List list already has some items of type MyClass containing the "RequiredValue" say 3,5,6,8…
Ashwin
  • 73
  • 6
4
votes
2 answers

Sitecore Axes.IsDescendantOf / Axes.IsAncestorOf - Inclusive?

Is there a reason or something that I am missing that has Sitecore return true for both Item.Axes.IsDescendantOf() and Item.Axes.IsAncestorOf()? var test = Sitecore.Context.Database.GetItem("{862B466A-079B-40E7-8661-FC064EC28574}"); …
al3xnull
  • 866
  • 1
  • 13
  • 29
3
votes
1 answer

Scrolling to Item

I'm new to Android and I want to know how to scroll down to a position specified by a button in ListView. Say for example I have an array of 5000 items, sorted. I will have 33 letters on top of the screen and user wants to get to position that…
Jay Berd
  • 105
  • 5
3
votes
2 answers

Scale usercontrol in wpf?

i have multiple items in my usercontrol. I put everything in a grid. But now i am trying, if the resolution of my screen changes, the window scales automatically. This just doesn't work. I already used viewbox, but not with the wanted result. This…
Ruben
  • 1,033
  • 3
  • 12
  • 22
1 2
3
42 43