Recent Posts

Pages: 1 2 [3] 4 5 ... 10
21
General Discussion / Re: Kitchen Sink
« Last post by billarhos on 14 June 2019, 09:23:05 »
I have some hard times with "ScrollablePanel"

Code: [Select]
Panel {
BackgroundColor = rgba(100, 100, 100, 255);
BorderColor        = rgba(0, 0, 0 , 255);
Borders              = (1, 1, 1, 1);
OpacityDisabled = 0.3
}

ScrollablePanel {
Panel = &Panel;
OpacityDisabled = 0.3
}

If i remove Panel property is working. With panel property is crashing. Panel alone is working fine.

22
General Discussion / Re: Kitchen Sink
« Last post by texus on 14 June 2019, 08:30:58 »
I can't think of a reason. It seems to be missing in scrollbar too.
Usually the state is called "down" instead of "pressed", but that might be unclear here.
23
General Discussion / Re: Kitchen Sink
« Last post by billarhos on 14 June 2019, 08:12:50 »
While making SpinButton i found that texturearrowuppressed, texturearrowdownpressed are missing. Is there a reason?

24
Help requests / Increasing scroll sensitivity
« Last post by Maksat on 14 June 2019, 06:25:21 »
Hi! I could not find any way to increase scroll sensitivity of ScrollablePanel. It's very inconvenient to scroll to the end of the content of ScrollablePanel with low contentOffset, when it has wide content height
26
General Discussion / Re: Kitchen Sink
« Last post by texus on 13 June 2019, 18:56:38 »
Now that you mention it, it does sound like that. Maybe I should rename it to setTimeBeforeDisplay or setTimeBeforeShowing?
27
General Discussion / Re: Kitchen Sink
« Last post by billarhos on 13 June 2019, 18:48:23 »
Ha, i thought that "setTimeToDisplay" has to do with how long the tooltip would shown. Sorry.! I stay still for 1000 mscs and it appeared.

I think i am down with the code. i 'll move forward to finish gui.png!
28
General Discussion / Re: Kitchen Sink
« Last post by texus on 13 June 2019, 18:22:21 »
If you added it to the widget with setTooltip then it should show up on the bottom right of your mouse cursor (4 pixels to the right and 8 pixels down in this case) if put the mouse on top of the widget and don't move it for more than a second. You shouldn't have to call pLabelToolTip->setPosition at all, unless you want to add an extra offset to the tooltip which other widgets don't have.

Is there nothing in front of the clickable widget?
29
General Discussion / Re: Kitchen Sink
« Last post by billarhos on 13 June 2019, 18:15:49 »
Quote
Are you calling something like "gui.add(pLabelToolTip)" somewhere by any chance?
YES, i remove it. Now never shows.
Commenting "pLabelToolTip->setPosition()" also didn't help.

Should i give tooltip widget position?
30
General Discussion / Re: Kitchen Sink
« Last post by texus on 13 June 2019, 17:59:28 »
Are you calling something like "gui.add(pLabelToolTip)" somewhere by any chance?
pLabelToolTip->setPosition shouldn't be called like that. The position will be relative to the mouse.
Pages: 1 2 [3] 4 5 ... 10