Posts

Showing posts with the label user-interface

How to create an adaptive button in Figma?

Image
Clash Royale CLAN TAG #URR8PPP How to create an adaptive button in Figma? I just want to create a simple button with background color and text inside it, so that the width of the button will adapt to the text inside it. So lets say I have a button 56px wide with text saying "cancel" in it, but if I change the text to "Please click here to cancel and bla bla bla" - I'd then have to manually resize the button's background to match the new text. Is there a way to automate this part of the design process? PS: sorry for the irrelevant tags, but there is no tag "Figma" here. This question is for Figma users only! 2 Answers 2 The dynamic button function doesn't exist yet in Figma. SketchApp have some plugin that help you doing the job. There is an unofficial way how to do this using Figma's unreleased Stacks feature. Post on spectrum.chat: https://spectrum.chat...

UWP NavigationView control doesn't support the documented PanePosition element

Image
Clash Royale CLAN TAG #URR8PPP UWP NavigationView control doesn't support the documented PanePosition element According to the Navigation view documentation, the NavigationView UI control should have a PanePosition element, but the following code gives the following error: <NavigationView PanePosition="Top"/> Unknown member 'PanePosition' on element 'NavigationView' I've tried using the latest preview release of the Microsoft.NETCore.UniversalWindowsPlatform and Windows.UI.Xaml NuGet packages with the same results. Microsoft.NETCore.UniversalWindowsPlatform Windows.UI.Xaml 1 Answer 1 PanePosition="Top" appeared In the following Windows 10 SDK Preview Build Redstone 5 By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy,...

Swing: multiline toolbar or using Flowlayout as toolbar

Image
Clash Royale CLAN TAG #URR8PPP Swing: multiline toolbar or using Flowlayout as toolbar I have toolbar with random number of buttons from two up to twenty. Width of each button can vary. I have to put them all at top area and use JToolBar. On a small screen resolutions (e.g. 800x600) some buttons could be out of screen (AFAIK JToolbar can't grows in a height). Any ideas how to adjust JToolbar to grows in a height or resolve the task in any other way (e.g. using Flowlayout)? By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Pyside2 application failed to start

Image
Clash Royale CLAN TAG #URR8PPP Pyside2 application failed to start I just tried to test the newly released version of pyside2 (5.11) on Windows 10, 64bit version. But the "Hello World" example does not work. I am using Python 3.6 with PyCharm.The interpreter I use is from Anaconda. So I pip installed the pyside2 version and also tried to install via "conda install ..." the older version of pyside2. Both installations worked, but I get the same error message for both libraries. The error message is pooping up in a separate secreen saying:" This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. Available platform plugins are: minimal, offscreen, windows." So I definetly can see the plugin files in the correct folder. I tried reinstalling. Deleted everything and tried other IDEs. But nothing solved the problem. Any help appreciated. 1 Answer ...

modal popup issue background moved to left in angular 5/4

Image
Clash Royale CLAN TAG #URR8PPP modal popup issue background moved to left in angular 5/4 I'm trying to adapt code in Angular 4 to Angular 5. I made many changes but I had an error about model popup issue. When the model pop open background will moving left 15px. It would be helpful, if you would add a code snippet, cannot help just by guessing where you went wrong with the implementation. – Alex Ananjev 18 mins ago By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.